diff --git a/src/util.rs b/src/util.rs index ffd9b9a2c..bc11b6808 100644 --- a/src/util.rs +++ b/src/util.rs @@ -1302,11 +1302,12 @@ impl ColumnNameParser { } } -#[inline] +#[inline] /// Rounds a floating point number to a specified number of decimal places. /// -/// This function takes a 64-bit floating point number and rounds it to the specified number of decimal places -/// using "Bankers Rounding" (Midpoint Nearest Even) strategy. It returns the result as a String. +/// This function takes a 64-bit floating point number and rounds it to the specified number of +/// decimal places using "Bankers Rounding" (Midpoint Nearest Even) strategy. It returns the result +/// as a String. /// /// # Arguments /// @@ -1316,7 +1317,6 @@ impl ColumnNameParser { /// # Returns /// /// * A String containing the rounded number with trailing zeros removed and -0.0 normalized to 0.0 -/// pub fn round_num(dec_f64: f64, places: u32) -> String { use rust_decimal::{Decimal, RoundingStrategy};