DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
round 2 decimales js
var numb = 80.124124124; numb = numb.toFixed(2); // numb = 80.12
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#decimales
#js
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit