Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

round to nearest decimal javascript

round(12345.6789, -1) // 12350
round(12345.6789, -2) // 12300
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nearest #decimal #javascript
ADD COMMENT
Topic
Name
3+9 =