Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

round down the number javascript

+3.5 => +3.0
-3.5 => -4.0

+3.5 => +3.0 using Math.floor()
-3.5 => -3.0 using Math.ceil()
 
PREVIOUS NEXT
Tagged: #number #javascript
ADD COMMENT
Topic
Name
1+8 =