pub fn get_scale(n: &Numeric) -> u32
Returns n’s scale, i.e. the number of digits used after the decimal point.
n