Skip to main content

js_round

Function js_round 

Source
pub fn js_round(n: f64) -> f64
Expand description

Math.round(): half up (towards +inf), -0 for the values in [-0.5, 0)