12:15 - 13:00
In 2011, wrong use of decimals in just one financial software caused $217m in investor losses. In fact, most of the systems we develop deal with monetary calculations, so most of us are risking serious consequences from software bugs. I will tell you how to process monetary amounts with PHP to avoid such failures. I will share my experience with the MoneyPHP library and talk about developing complex e-commerce and payment systems.
You will learn:
* How to store and process monetary amounts without errors?
* How to handle multiple currencies for many locales?
* How MoneyPHP solves many common problems with financial calculations?
* How to avoid the most common bugs in e-commerce and payment systems?