Function maths_rs::round

source ·
pub fn round<T: Float, V: FloatOps<T>>(a: V) -> V
Expand description

returns the value a rounded to closest integer floor if a < 0.5 or ceil if a >= 0.5