Skip to main content

round_dp

Function round_dp 

pub fn round_dp(x: f64, dp: i32) -> f64
Expand description

Round x to the nearest value at dp decimal places.