Skip to main content

trunc

Function trunc 

Source
pub fn trunc(x: f64) -> f64
Expand description

Truncate toward zero — drop the fractional part.