On Sat, Mar 22, 2008 at 3:37 PM, Richard <[EMAIL PROTECTED]> wrote:
[snip=code!]
> When I have one item at 10.03, the result is : Total Vat = 1.97 - Total
> without vat = 10.03 Total with vat = 12.00
> but if I have two items at 10.03 the result is : Total vat = 3.93 -
> Total without vat = 20.
sitions
on display rounds up to 1.97.
if you stored the rounded value ,on a per-item basis, you'd get what
you're after.
now, the question is whether vat is applied per item or on the
invoice total.
the difference becomes more obvious with say 3 items, at 10.03. on a
(rounded) pe
Here is a simplifie version of my code :
I get 12.00 and 23.99 ... what should I do to get 12.00 and 24.00 ?
Richard a écrit :
Hello, I'm trying to write a invoice script but I have encountered a
slight problem.
Each product needs to be listed without tax, and at the end of the
file I need
Hello, I'm trying to write a invoice script but I have encountered a
slight problem.
Each product needs to be listed without tax, and at the end of the file
I need to show the VAT. In France VAT is 19.6%
So €10.03 without vat = €12.00 with vat.
So I do this :
$totalwithoutvat = 0;
$totalwithout
4 matches
Mail list logo