Skip to main content

trunc

Function trunc 

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

Returns the integer part of x, rounding toward zero.