[ic] Tax caluculation problem

murahashi interchange-users@interchange.redhat.com
Tue Nov 13 01:37:01 2001


Sales tax value calculation was wrong in case of below on both Interchange
4.6 and 4.8.

TAXArea JP
TAXField JP
TAX Rate JP=5.0

( Case 1)
On checkout.html,
Subtotal 8250Yen
Tax  412Yen

Tax = 8250 * 0.05 = 412.5
Wrong!
Tax should be 413Yen.
It seems that Round off is not correct.

(Case 2)
On checkout.html
Subtotal 46790Yen
Tax 2340Yen

Tax =46790 * 0.05 = 2339.5
This case correct!

>From experiences, most of cases are right on calculation of round off.

Where should  I look into sales tax module? Any pointer?

Any help would be appreciated.
---------------------------------------------------------------
KIDA Net Business Ltd
Shozo Murahashi