pub fn rounded_redaction(decimals: usize) -> Redaction
Creates a redaction that rounds floating point numbers to a given number of decimal places.
settings.add_redaction(".sum", rounded_redaction(2));