Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to find next multiple of 5 in javascript

    let a = Number(input) / 5
    return Math.ceil(a) * 5;
 
PREVIOUS NEXT
Tagged: #find #multiple #javascript
ADD COMMENT
Topic
Name
1+4 =