round
Rounds to the nearest integer (half up).
Examples
round(2.4)→2round(2.5)→3round(-2.5)→-3
Fully qualified path: cairo_fp::f128::math::ops::round
fn round(a: Fixed) -> Fixed
Press ← or → to navigate between chapters
Press ? to show this help
Press Esc to hide this help