[Typo3-shop] Tax calculation incorrect?

JoH info at cybercraft.de
Wed Jul 27 20:56:50 CEST 2005


> In our soon-to-be online shop the price without tax
> (PRICE_TOTAL_NO_TAX) is not calculated correctly.
> We use these settings for the price calculation:
>    TAXpercentage = 16.00
>    TAXincluded = 1
>
> Example:
> When the total price (PRICE_TOTAL_TAX) is 10.00 euro, then the price
> without tax (PRICE_TOTAL_NO_TAX) is calculated as '8.62', but the
> correct amount would be '8.40' euro. The difference is 0.22 euro.
>
> With a product that costs 1000 euro (PRICE_TOTAL_TAX), the
> PRICE_TOTAL_NO_TAX is calculated as 862.07 euro, but it should be 840
> euro. The difference of 22.07 euro is a bit more significant.
>
> Is anyone else experiencing this? Where does this difference come
> from?

You should try to correct your understanding of percentage calculation ;-)

840 + 16% = 840 * 1.16 = 974,40 != 1000
862.07 + 16% = 862.07 * 1.16 = 1000,00(12)

If the price X is including 16% Tax the "No Tax" price is

X/1.16

So the example calculation is correct.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-project-tt-products mailing list