javascript round number up to nearest 100 code example Example: js nearest 100 Math.round(n / 100) * 100