rescale

fun rescale(newScale: Int, rounding: Type.Decimal.Rounding): Value.Decimal

Rescale a decimal to a new scale, using rounding when the new scale cannot represent the value exactly.

Throws