DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript tofixed
var int = 10; var float = parseFloat(int).toFixed(2); console.log(float); // 10.00
PREVIOUS
NEXT
Tagged:
#javascript
#tofixed
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit