decimal icon indicating copy to clipboard operation
decimal copied to clipboard

Provide bindings to `decNumberRescale`

Open tari opened this issue 1 year ago • 0 comments

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).

tari avatar Jul 13 '22 06:07 tari