pub fn ceil(x: f64) -> f64
The Math.ceil() function returns the smallest integer greater than or equal to a given number.
Math.ceil()
MDN documentation