Zen Cart Logo
Forums / General Questions / round tax

round tax

Locked

Views: 689

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 Jun 2010, 6:32 PM
#1
raduzz avatar

raduzz

New Zenner

Join Date:
Jan 2010
Posts:
6
Plugin Contributions:
0

round tax

Hi,

i my country tax is 20%
as I add new product to my store i edit input: "price with tax".
price without tax is counted by zen cart. here is the problem:

zen cart count:
price without tax = price with tax - price with tax * 20 / 120

but i my country is tax law and i have to round 20/120 on four decimal places

zen cart should count:
price without tax = price with tax - price with tax * 1.6667

( 1.6667 = round( 20 / 120, 4) )

please, can you help me?

7 Jun 2010, 7:15 PM
#2
raduzz avatar

raduzz

New Zenner

Join Date:
Jan 2010
Posts:
6
Plugin Contributions:
0

Re: round tax

mistake in my post: 1.6667 should be replaced by 0.16667
(five decima places)

i hope there is only one php script which have to be edited and zen cart will count with rounded tax

23 Jun 2010, 6:49 PM
#3
raduzz avatar

raduzz

New Zenner

Join Date:
Jan 2010
Posts:
6
Plugin Contributions:
0

Re: round tax

my english is no good.
i hope you understand

i would realy need resolve that problem