Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

parsefloat.tofixed in javascript

var num2 = parseFloat("10.547892").toFixed(2)
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
2+6 =