decimal
decimal copied to clipboard
Provide bindings to `decNumberRescale`
The decNumberRescale
is more convenient than quantize
in some situations where rounding is desired. It would be nice to support a rescale
method on d128
.
I'm not sure exactly how that would be bound to the C implementation, since there's no decQuadRescale
function (only decNumberRescale
).