How to round up to the nearest 100 in JavaScript February 6, 2023 by Tarik Use Math.ceil(), if you want to always round up: Math.ceil(number/100)*100