javascript round to nearest 10
snippet in javascript

javascript round to nearest 10

user1745

var rounded = Math.round(number / 10) * 10