Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Number.prototype.toExponential() Method in Number Class of Javascript Syntax with Examples
1940 Views
Usage  
The toExponential() method is used to return a string representing the Number object in exponential notation
Syntax  
numberObject.toExponential([fractionDigits])
Example
var numObj = 99.1234;
document.write(numObj.toExponential(4));
document.write(numObj.toExponential(2));
document.write(77 .toExponential())
Output 
9.9123e+1
9.91e+1
7.7e+1
Best Lessons of "Javascript Syntax with Examples"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details