JavaScript Reference/Javascript Methods/toExponential
"toExponential()" Example
<html>
<body>
<button onclick="var myNum = new Number(10000); alert(myNum.toExponential(1));">
10000 exp </button>
</body>
</html>
"toExponential()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Number |
+----------------+--------------------------------------------------------------+
"toExponential()" Syntax, Parameters and Note
Note:
Converts the value of a Number object into exponential notation.
Syntax:
numberName.toExponential(param1)
Parameters:
param1 Required; number of decimal places in the exponential notation.