rounding number to the nearest hundred js code example Example: js nearest 100 Math.round(n / 100) * 100