Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js round 2 decimals

Math.round(num * 100) / 100
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #decimals
ADD COMMENT
Topic
Name
8+9 =