> 75.6100 becomes 75.6099
Nic, I know this looks silly, but it can sometimes work:
tval:=tblInvoice.FieldByName("amount").AsCurrency*1000;
tval:= tval/1000;
  total := total + tval;
 Sortof what you have to do if you dont have 'real' number crunching.
EG 75.6100 would be 75 and 6100, at the end of processing you shiftleft to
get the correct decimal places - make sense or not??

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to