mz_repr::adt::numeric

Function get_scale

Source
pub fn get_scale(n: &Numeric) -> u32
Expand description

Returns n’s scale, i.e. the number of digits used after the decimal point.