Answers for "how to convert a number to the nearest 10 js"

2

javascript round to nearest 10

var rounded = Math.round(number / 10) * 10
Posted by: Guest on May-20-2020
0

Rounding Up To The Nearest Hundred js

function round100 (num1) {
    return Math.round(num1/100)*100;
}
Posted by: Guest on December-30-2020

Code answers related to "how to convert a number to the nearest 10 js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language