Function repr::adt::numeric::get_precision[][src]

pub fn get_precision<const N: usize>(n: &Decimal<N>) -> u32
Expand description

Returns n’s precision, i.e. the total number of digits represented by n in standard notation not including a zero in the “one’s place” in (-1,1).