Skip to main content

fixed_digits

Function fixed_digits 

Source
pub fn fixed_digits(decimals: f64) -> Option<u32>
Expand description

decimals as fixed fraction digits: finite → trunc, clamped to 0..20.