numeral
Composable number formatting and parsing for decimals, compact values, percentages, byte sizes, currency display text, and locale-aware numerals.
4.1.0
3.4K downloads/mo
#4428 most downloaded on pub.dev
medz/numeral.dart
What this package is like to depend on
Last release 1 months ago
25 Jun 2026
Release timing varies
gaps range from 2 weeks to 1.7 years
Rarely documented
notes for 6 of 25 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
25 releases · first in 2019
3 releases in the last 12 months
see the full history below
Release timeline
25 releases · Dec 2019 to Jun 2026Releases
latest 25-
4.1.025 Jun 2026Release notes
Open source →What's Changed
- Added the built-in
es.dartlanguage path with Spanish compact units and cardinal number formatting/parsing. - Added the built-in
ja.dartlanguage path with Japanese compact units, cardinal number formatting/parsing, and digit-by-digit year formatting. - Added the built-in
ko.dartlanguage path with Korean compact units, Sino-Korean cardinal numbers, and year numbers. - Added the built-in
fr.dartlanguage path with French compact units, cardinal number formatting/parsing, and year numbers. - Added the built-in
zh_hant.dartlanguage path with Traditional Chinese compact units, cardinal numbers, year numbers, and financial numerals.
Published to pub.dev: https://pub.dev/packages/numeral/versions/4.1.0
Release notes
Open source →- Added a built-in
es.dartlanguage path with Spanish compact units and cardinal number formatting/parsing. - Added a built-in
ja.dartlanguage path with Japanese compact units, cardinal number formatting/parsing, and digit-by-digit year formatting. - Added a built-in
ko.dartlanguage path with Korean compact units, Sino-Korean cardinal numbers, and year numbers. - Added a built-in
fr.dartlanguage path with French compact units, cardinal number formatting/parsing, and year numbers. - Added a built-in
zh_hant.dartlanguage path with Traditional Chinese compact units, cardinal numbers, year numbers, and financial numerals.
- Added the built-in
-
4.0.025 Jun 2026Release notes
Open source →- Rebuilt the public API around reusable codec classes such as
DecimalCodec,CompactCodec,PercentCodec,
BytesCodec, andCurrencyCodec. - Added reusable immutable codecs with standard
encode/decodesupport and
readableformat,parse, andtryParsealiases. - Added direct parsing support for decimal numbers, compact suffixes,
percentages, byte sizes, and display currency values. - Added decimal and binary byte codecs.
- Added reusable
NumeralUnit/NumeralUnitSetmodels for unit-based codecs. - Added custom number
stylesupport for unit-style codecs, allowing currency,
percentage, byte, and compact formats to compose with language-specific
number codecs. - Added
extension.dartfor fluent one-off formatting, such as
12345.compact(),1536.bytes(binary: true), and123.currency(r'$'). - Added built-in
en.dartandzh.dartlanguage paths with locale-specific
compact units, including Simplified Chinese cardinal, year, financial
numeral, and RMB uppercase amount formatting and parsing. - Removed the old
num.numeral()/beautifulextension API.
Release notes
Open source →- Rebuilt the public API around reusable codec classes such as
DecimalCodec,CompactCodec,PercentCodec,BytesCodec, andCurrencyCodec. - Added reusable immutable codecs with standard
encode/decodesupport and readableformat,parse, andtryParsealiases. - Added direct parsing support for decimal numbers, compact suffixes, percentages, byte sizes, and display currency values.
- Added decimal and binary byte codecs.
- Added reusable
NumeralUnit/NumeralUnitSetmodels for unit-based codecs. - Added custom number
stylesupport for unit-style codecs, allowing currency, percentage, byte, and compact formats to compose with language-specific number codecs. - Added
extension.dartfor fluent one-off formatting, such as12345.compact(),1536.bytes(binary: true), and123.currency(r'$'). - Added built-in
en.dartandzh.dartlanguage paths with locale-specific compact units, including Simplified Chinese cardinal, year, financial numeral, and RMB uppercase amount formatting and parsing. - Removed the old
num.numeral()/beautifulextension API.
- Rebuilt the public API around reusable codec classes such as
-
3.1.202 Oct 2025 -
3.1.113 May 2025Release notes
Open source →- Fixed the issue that the number after the decimal point was incorrect due to inappropriate rounding.
- test: Added tests
-
3.1.008 May 2025Release notes
Open source →- feat: Added global conf to choose if value should be rounded. #17 at @luis901101
-
3.0.023 Dec 2023 -
2.0.130 Mar 2022Nothing published for this version
-
2.0.030 Mar 2022Nothing published for this version
-
1.2.518 Sep 2021Nothing published for this version
-
1.2.401 Jul 2021Nothing published for this version
-
1.2.328 Jun 2021Nothing published for this version
-
1.2.228 Jun 2021Nothing published for this version
-
1.2.128 Jun 2021Nothing published for this version
-
1.2.028 Jun 2021Nothing published for this version
-
1.1.028 Jun 2021Nothing published for this version
-
1.0.402 Apr 2020Nothing published for this version
-
1.0.302 Apr 2020Nothing published for this version
-
1.0.209 Jan 2020Nothing published for this version
-
1.0.128 Dec 2019Nothing published for this version
-
1.0.028 Dec 2019Nothing published for this version
-
0.0.528 Dec 2019Nothing published for this version
-
0.0.428 Dec 2019Nothing published for this version
-
0.0.328 Dec 2019Nothing published for this version
-
0.0.228 Dec 2019Nothing published for this version
-
0.0.128 Dec 2019Nothing published for this version