with javascript how do you round the number 7.25 downwards to the nearest integer code example Example: javascript round to nearest 10 var rounded = Math.round(number / 10) * 10