Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

round to nearest decimal javascript

round(12345.6789, 2) // 12345.68
round(12345.6789, 1) // 12345.7
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nearest #decimal #javascript
ADD COMMENT
Topic
Name
7+1 =