hex decimal 3.1.0
v3.1.0
on Hex

latest release: 2.4.1
6 hours ago

Enhancements

  • Decimal.new/2 now accepts an optional opts keyword list and
    forwards it to Decimal.parse/2, allowing callers to override
    :max_digits and :max_exponent when constructing a decimal from
    a string.

Bug fixes

  • Fix infinite loop in Decimal.to_integer/1 when the coefficient is
    zero and the exponent is negative (e.g. Decimal.new("0.0")). Such
    values now correctly convert to the integer 0.

Don't miss a new decimal release

NewReleases is sending notifications on new releases.