DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
round till 2 digit in jquery
(10.8).toFixed(2); // "10.80" var num = 2.4; alert(num.toFixed(2)); // "2.40"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#digit
#jquery
ADD COMMENT
Topic
COMMENT
Name
4+8 =
Submit