DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript round to 2 decimals
var num = 125465.33695; console.log(num.toFixed(2)) //125465.33
Source by javascriptf1.com #
PREVIOUS
NEXT
Tagged:
#javascript
#decimals
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit