The Math ceil() static method always rounds up and returns the smallest integer greater than or equal to a given number.
console.log(Math.ceil(0.95));
// 1
console.log(Math.ceil(4));
// 4
console.log(Math.ceil(7.004));
// 8
console.log(Math.ceil(-7.004));
// -7