Bug-free Money Handling with MoneyPHP
By Piotr Horzycki
Do we really know how to handle one of the fundamental business operations—calculating monetary amounts? Floating-point calculations, often used with financial transactions, are notoriously tricky and error-prone because of how computers process them. In this article, we’ll look at how you can avoid making them in your application.
This article was originally published in the November 2020 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.
Leave a comment
Use the form below to leave a comment: