NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1137 most downloaded on pub.dev
Money2 is a high-precision library for storing, parsing, formatting, and performing arithmetic on monetary values and currencies. Fixed-decimal math, multi-currency support and conversions, parsing and formatting. (Money.parse('$2010.00') * 10).format('SCC#,##0') -> $US20,100
Last release 8 months ago
27 Jan 2026
Release timing varies
gaps range from 8 days to 4 months
Most releases are documented
notes for 45 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
7 years old
100 releases · first in 2019
Corrected the documentation link.
Corrected the documentation link.
Updated homepage.
Updated homepage.
Added zloty and Czech koruna Default Euro pattern fixed - the symbol is now at the end of the value removed support for the beta of 2.12.
One column per quarter.
Added zloty and Czech koruna Default Euro pattern fixed - the symbol is now at the end of the value removed support for the beta of 2.12.
un deprecated Money.fromBigInt as it is more memory efficient that Money.from
un deprecated Money.fromBigInt as it is more memory efficient that Money.from
Rreleased null safety preview. fixes: #15 fixes: #29 - lost digits using exchangeTo fixes: #28 - support more precision for exchange rates fixes #24 -
Rreleased null safety preview. fixes: #15 fixes: #29 - lost digits using exchangeTo fixes: #28 - support more precision for exchange rates fixes #24 - support mutli-character symbols. fixes #22 - document inversion of , and . in format. Rounding was wrong for -ve no. Changed to rounding based on sign. moved doco to gitbooks. Corrected the BRL pattern. Corrected the decimal separator for brl. Added tests for rounding. Added tests for exchange rate precision. Added bitcoin, sorted entries. Fixed #26 rounding issue - Money.from rounds incorrectly. Fixed a bug in exchangeTo that had hard coded the number of decimal places.
Added Money.dividedBy with a double as the result.
Added Money.dividedBy with a double as the result.
Fixed the incorrect example output to be correct.
Fixed the incorrect example output to be correct.
3rd attemp to fix formatting.
3rd attemp to fix formatting.
2nd attempt to fix the description formatting ;<
2nd attempt to fix the description formatting ;<
attempt to fix the escaping of the description.
attempt to fix the escaping of the description.
Bug fixes for currences by with high precision and parsing amounts with less than the expected decimal places. Merge pull request #21 from comigor/pre
Bug fixes for currences by with high precision and parsing amounts with less than the expected decimal places. Merge pull request #21 from comigor/precision-0 Merge pull request #19 from comigor/master moved to lint. Exposed the encoders as part of the public api. Correctly parse currencies with 0 minor digits Fix a formatting issue where only currencies with precision=2 were being considered
Migrated the library to use the dart non-nulllable options.
Migrated the library to use the dart non-nulllable options.
add support for parsing negative money values
add support for parsing negative money values
Merge pull request #9 from ibobo/master replaced " with ' quotes. removed all \$ replaced with r'$ Fix formatting of negative numbers below minorDigit
Merge pull request #9 from ibobo/master replaced " with ' quotes. removed all $ replaced with r'$ Fix formatting of negative numbers below minorDigitsFactor
Deprecated 'fromString' methods in favour of 'parse' method name. This was done to bring the library in line with the likes of BigInt.parse.
fixed lints to make pub.dev happy. ignored settings.json. When formatting patterns now support spaces between code/symbol and the digits. Added support for a built in list of common currencies. Added support for whitespace between pattern characters when parsing. We do this by removing any whitespace in the pattern or the value. Allow space on minorPattern Add test cases with spaces after digits
relase of beta features.
Merged in PR #7
When formatting patterns now support spaces between code/symbol and the digits.
Thanks to @comigor for the patch.
Forgot to export the new CommonCurrencies class.
Added support for whitespace around the symbol and the currency code. Added support for a builtin list of common currency codes as requested in #8
Fixes from oysterpack dealing with: https://github.com/noojee/money.dart/issues/4 money values with single digit cents do not format correctly
and
https://github.com/noojee/money.dart/issues/2
Currently minor units and currency are used to construct Money, but they are not exposed as properties.
Updated code style to meet latest requirements of dartanalyzer.
Documented creation of top 20 currencies.
Corrections and improvements to the documentation.
Deprecated 'fromString' methods in favour of 'parse' method name. This was done to bring the library in line with the likes of BigInt.parse.
New 'Money.from(num)' method to support creating money from int's and doubles. New Unit tests for Money.from and the new parse methods.
Money.fromString - use Money.parse Currency.fromString - use Currency.parse Currencies.fromString - use Currencies.parse
Minor documenation cleanups.
Change the API of Currencies. Its now a singleton so usage changes from: Currencies().register() to Currencies.register().
New methods to parse a monetary value from a String including: Money.frommString Currency.fromString Currencies.fromString
New method to convert a [Money] of one currency to another currency via the [Money.exchangeTo] method.
New examples and unit tests for the above methods.
2nd Attempt to improve the description displayed on pub.dev.
Attempt to improve the description displayed on pub.dev.
Formatting of examples as the pub.dev site clips wide lines.
Improved the examples.
Changed readme sample to the more familar usd.
Examples of registry usage.
Additional unit tests.
tweaks to the doco, some additional unit tests. Improved the trailing zero logic.
Improvemenst to the dartdoc.
First release version
Readme to document invertedSeparators and general improvments corrections.
Added a couple additional examples. InvertedSeparator argument to Currency.create Additional unit test for the InvertedSeparator option.
Minor cleanups of the readme.md
Updated the name of example.dart to please google package gods.
Update to please the google package gods.
Updated the description.
meta ^1.1.7.intl: ^0.16.0.meta ^1.1.7.intl: ^0.15.8.@immutable and @sealed to Money, Currency, MoneyData.This release was made from scratch and provides API incompatible with
0.2.1.
Currency value-type.Currencies for representation of currency directories.Iterable<Currency>
(see the factory Currencies.from(Iterable<Currency>)).Currencies implementation (see the factory
Currencies.aggregating(Iterable<Currencies>)).Money value-type:
.isZero, .isPositive, .isNegative;.isInCurrency(Currency), .isInSameCurrencyAs(Money);==, <, <=, >, >=;Comparable<Money>;+(Money), -(Money), *(num), /(num));.allocationAccordingTo(List<int>);.allocationTo(int);.encodedBy(MoneyDecoder);Money.decoding(MoneyEncoder).MoneyEncoder.MoneyDecoder.MoneyData — DTO for encoding/decoding.0 and -0 amount in a browser.0.Currency is not abstract from now on.Money.hashCode now relates on amount and currency (Issue #1).Money.==() now receives Object instead of Money and checks runtime
type of the argument, closes #4.Money.toString(), closes
#3.Money.fromDouble() constructor.Money.amountAsString.Money.fromString() constructor.<, <=, >, >=).README.md.Initial version.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →