Money & Currency
Type-safe monetary values with precise arithmetic (integer-cent storage, no float drift), ISO 4217 currency codes, conversion via configurable rate sources, allocation algorithms for splitting amounts across line items, and locale-aware formatting for display. The "I need to handle money correctly" layer underneath any invoicing or payments work.
Projects
Packages (6)
- @philiprehberger/dotnet-moneydotnet
Immutable Money value type with integer arithmetic, ISO 4217 currencies, and proportional allocation.
- @philiprehberger/kt-moneykotlin
Type-safe monetary values with currency support and precise arithmetic.
- @philiprehberger/php-moneyphp
Immutable Money value object with currency support, formatting, arithmetic, and Laravel Eloquent cast
- @philiprehberger/py-moneypython
Precise monetary calculations using integer cents with currency support and formatting.
- @philiprehberger/rb-moneyruby
Immutable money value object with integer subunit storage and multi-currency formatting
- @philiprehberger/money-tstypescript
Precise money and currency arithmetic