Skip to main content

iround

Function iround 

Source
pub fn iround(v: f64) -> i32
Expand description

Round a double to the nearest integer (round half away from zero). Matches C++ AGG’s iround (non-FISTP, non-QIFIST path).