On Wed, Mar 7, 2012 at 7:43 PM, Graeme Geldenhuys <graemeg.li...@gmail.com> wrote: > > > On Wednesday, 7 March 2012, Zaher Dirkey <parm...@gmail.com> wrote: >> >> In accounting/financial systems there is Debit and Credit numbers it must >> equal and Debit - Credit = 0, with this bug it fail. >> I am an accountant and i know if there is 0.0001 diff in balance sheet, my >> boss will fire me :P > > 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.
Integer math... what did you mean? Marcos Douglas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal