Skip to main content

trunc

Function trunc 

Source
pub fn trunc<T: Float, V: FloatOps<T>>(a: V) -> V
Expand description

truncates value a - removing the fractional part, truncating to an integer