DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+3 =
Submit