pub fn roundf(x: f64) -> f64
Rounds x to the nearest whole number, with halfway cases rounded away from 0.
x
A type-safe version of [method round], returning a float.
float