JS ближайший 100

Math.round(n / 100) * 100
Jerky