round off number to nearest 100 in recat js code example Example: js nearest 100 Math.round(n / 100) * 100