Skip to main content

round_half_toward_zero

Function round_half_toward_zero 

Source
pub fn round_half_toward_zero(value: f32) -> f32
Expand description

Rounds to the nearest integer with 0.5 ties toward zero.