DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js number 2 decimal places
(3.141596).toFixed(2); // 3.14
PREVIOUS
NEXT
Tagged:
#js
#number
#decimal
#places
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit