pub fn dec(v: f64) -> Decimal
Convert f64 to Decimal, returning Decimal::ZERO for unrepresentable values.
Decimal::ZERO
Shorthand for config/init code that doesn’t need field-name logging.