<br><br>On Wednesday, 7 March 2012, Zaher Dirkey <<a href="mailto:parmaja@gmail.com">parmaja@gmail.com</a>> wrote:<br>><br>> In accounting/financial systems there is Debit and Credit numbers it must equal and Debit - Credit = 0, with this bug it fail.<br>
> I am an accountant and i know if there is 0.0001 diff in balance sheet, my boss will fire me :P<br><br>This is why our accounting app uses Integer math (and when stored in the database). Only when amounts are displayed to the user, do we convert the integer value to currency. This greatly reduced our calculation and rounding problems.<br>
<br>Graeme.<br><br>-- <br>Regards,<br>  - Graeme -<br><br><br>_______________________________________________<br>fpGUI - a cross-platform Free Pascal GUI toolkit<br><a href="http://fpgui.sourceforge.net" target="_blank">http://fpgui.sourceforge.net</a><br>