FLUTTER ECOSYSTEM

money2

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

Latest version
6.3.0
30-day downloads
113K
Likes
207
Pub points
145

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Money2 is a high-precision Dart library designed for accurate handling of monetary values across multiple currencies. It supports fixed-decimal arithmetic, currency parsing and formatting, and seamless conversion between currencies. Ideal for financial applications requiring exact calculations without floating-point errors, it enables operations like parsing '$2010.00', multiplying by 10, and formatting as '$US20,100'. The library ensures reliability in financial computations with robust support across all major platforms.

Use cases
  • Financial applications
  • Currency conversion
  • Invoice and payment processing
  • Budgeting tools
  • E-commerce systems
  • Accounting software
Key features
  • High-precision decimal arithmetic
  • Multi-currency support
  • Currency parsing and formatting
  • Built-in currency conversion
  • Platform-agnostic (all major platforms)
  • Safe fixed-decimal math
Suitable for
  • Developers building finance apps
  • Apps needing exact monetary calculations
  • Cross-platform financial tools
  • Systems requiring international currency handling
Considerations
  • Requires explicit currency definitions
  • Limited to predefined currency codes
  • Depends on external exchange rate sources for conversions
  • Not suitable for non-monetary decimal data
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add money2

Categories

Dependencies

Dependency list 4 items

Source repository

Related projects