pub fn rescale(n: &mut Numeric, scale: u8) -> Result<(), Error>
Expand description
Rescale n
as an OrderedDecimal
with the described scale, or error if:
- Rescaling exceeds max precision
n
requires >NUMERIC_DATUM_MAX_PRECISION
-scale
digits of precision left of the decimal point