round

Function round 

Source
pub fn round(number: f64, step: f64) -> Result<f64>
Expand description

Rounds number to the nearest multiple of step.