pub fn floor(x: f32) -> f32
Returns the largest integer less than or equal to x.
x
Precision is specified when the libm feature is enabled.
libm