Function round_to_decimal

Source
pub fn round_to_decimal(value: f64, decimal_places: u32) -> f64
Expand description

Round to specified decimal places