Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Javascript Round Off

Math.round(2.60); //3
Math.round(2.50); //3
Math.round(2.49); //2
Math.round(-2.60); //-3
Math.round(-2.50); //-2
Math.round(-2.49); //-2
Source by pawelgrzybek.com #
 
PREVIOUS NEXT
Tagged: #Javascript #Round #Off
ADD COMMENT
Topic
Name
5+6 =