Javascript Number Type Question 6

Introduction

What is the output of the following code?

let c = 4324234;
console.log( c.toExponential(3) ); // 
console.log( c.toExponential() ); // 

console.log( b.toFixed(2) ); // 


4.324e+6
4.324234e+6
3.14



PreviousNext

Related