Skip to main content

floori

Function floori 

pub fn floori(x: f64) -> i64
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 an int.

Note: This function is not the same as int(x), which rounds towards 0.