moneyphp / money

PHP implementation of Fowler's Money pattern.
http://moneyphp.org
MIT License
4.63k stars 441 forks source link

Allocation docs are outdated #574

Closed lode closed 4 years ago

lode commented 4 years ago

The allocation docs at http://moneyphp.org/en/stable/features/allocation.html still mention the idea of adding the remained to the first value passed. Since https://github.com/moneyphp/money/pull/526 that is not true anymore.

sagikazarmark commented 4 years ago

@lode thanks for reporting this issue! Would you mind sending a PR to fix it?

lode commented 4 years ago

I tried and failed. I might try again sometime but I notice I don't understand the mechanics to make it good enough.