Repository navigation
Localize version 1.4.1
[1.4.1] — October 27th, 2026
Changed
- A
DecimalNaN formats as the locale's NaN symbol alone, with no sign, currency symbol, percent sign or other affix, as TR35's Special Values require; it was "NaN%", "$NaN" and "+NaN" undersign_display: :always. Infinity keeps its affixes ("∞%", "-$∞").
Fixed
-
A
DecimalNaN or ±Infinity no longer raises in the compact formats,:currency_long, the RBNF formats, plural rules or an MF2.match. RBNF uses the rule set'sNaN:andInf:rules or the locale's symbols, and plural rules selectother, as ICU and ECMA-402 do. -
Localize.Number.to_string/2formats aDecimalzero in a compact format (:short,:long,:currency_short), where 1.4.0 raisedDecimal.Errordividing by the zero mantissa when checking for a rounding carry. Thanks to @etareduction for the report. Closes #62.