Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js number round to each 15

Math.ceil(n / 15) * 15
// 3 -> 15, 22 -> 30 etc.
 
PREVIOUS NEXT
Tagged: #js #number
ADD COMMENT
Topic
Name
1+7 =