Skip to main content

ceili

Function ceili 

pub fn ceili(x: f64) -> i64
Expand description

Rounds x upward (towards positive infinity), returning the smallest whole number that is not less than x.

A type-safe version of [method ceil], returning an int.