Skip to main content

floorf

Function floorf 

pub fn floorf(x: f64) -> f64
Expand description

Rounds x downward (towards negative infinity), returning the largest whole number that is not more than x.

A type-safe version of [method floor], returning a float.