PHPackages                             dioscouri/f3-money - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dioscouri/f3-money

ActiveComponent[Utility &amp; Helpers](/categories/utility)

dioscouri/f3-money
==================

PHP implementation of Fowler's Money pattern

v0.1(11y ago)0281GPLPHPPHP &gt;=5.4.0

Since Jun 30Pushed 10y ago5 watchersCompare

[ Source](https://github.com/dioscouri/f3-money)[ Packagist](https://packagist.org/packages/dioscouri/f3-money)[ Docs](https://github.com/dioscouri/f3-money)[ RSS](/packages/dioscouri-f3-money/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

f3-Money
========

[](#f3-money)

This repo is heavily copied, and modified from and

PHP 5.5+ library to make working with money safer, easier, and fun!

> "If I had a dime for every time I've seen someone use FLOAT to store currency, I'd have $999.997634" -- [Bill Karwin](https://twitter.com/billkarwin/status/347561901460447232)

In short: You shouldn't represent monetary values by a float. Wherever you need to represent money, use this Money value object.

```
