trunc

Function trunc 

Source
pub fn trunc<T>(x: T) -> i64
where T: Into<f64>,
Expand description

math.trunc - truncate to integer