Convert a Number to a Exponential format : Number « Javascript Objects « JavaScript DHTML






Convert a Number to a Exponential format

 
    
<html>
<body>
<button onclick="var myNum = new Number(100); alert(myNum.toExponential(1));">
Number toExponential
</button>
</body>
</html>

    
      
        
  








Related examples in the same category

1.Convert a number to a precision
2.Fix a number
3.Number.MAX_VALUE
4.Number.MIN_VALUE
5.Number.NEGATIVE_INFINITY
6.Number.POSITIVE_INFINITY
7.Number.toExponential()
8.Number.toPrecision()
9.Number.toFixed()