def Decimal.normalize

bend-kit-bignum@0.1.0.0 · decimal.bend:174

import bend-kit-bignum@0.1.0.0/decimal.bend as Decimal
import Base

174# The same value at the smallest scale: 1.500 is 1.5, 0.00 is 0.
175def Decimal.normalize(d: Decimal) -> Decimal:
176  match d:
177    case Decimal{+u, s}:
178      Decimal.normalize.go(s, u, Decimal.divk(u, 10))

Uses (3)

Used by (0)

No other definition uses this definition.