Number.toExponential() : Number « Javascript Objects « JavaScript DHTML






Number.toExponential()

  

<html>
<head>
<title>Number properties</title>
</head>
<body>
<script type="text/javascript">
var newValue = new Number("31234123.8896");

document.writeln(newValue.toExponential(3) + "<br />");

</script>
</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.toPrecision()
8.Number.toFixed()
9.Convert a Number to a Exponential format