P
Pecanfan
I've had the following formula in various forms and reports for calculating
VAT for years and I've just noticed a problem with it:-
=Int(([InvoiceTotalNET]*(([cbxVATRate].[Column](0))/100))*100)/100
Now, you'd expect when InvoiceTotalNET = 108 and cbxVATRate = 17.5 that the
above would come out as 126.90 but NO - for some reason it's coming out at
126.89!!! Same happens for 10800 (this comes out at 12689.99) BUT 1080
comes out at the correct value, 1269.00. What the... ?!?!
Can anyone explain this? PLEASE???
Andy
VAT for years and I've just noticed a problem with it:-
=Int(([InvoiceTotalNET]*(([cbxVATRate].[Column](0))/100))*100)/100
Now, you'd expect when InvoiceTotalNET = 108 and cbxVATRate = 17.5 that the
above would come out as 126.90 but NO - for some reason it's coming out at
126.89!!! Same happens for 10800 (this comes out at 12689.99) BUT 1080
comes out at the correct value, 1269.00. What the... ?!?!
Can anyone explain this? PLEASE???
Andy