devela::_dep::js_sys::Math

Function ceil

Source
pub fn ceil(x: f64) -> f64 
Available on crate feature dep_js_sys only.
Expand description

The Math.ceil() function returns the smallest integer greater than or equal to a given number.

MDN documentation