RE: Tax Rounding error in MS_1

shaky <[email protected]>
Newsgroups gmane.comp.web.oscommerce.general
Message-ID <cd098cb32dcfa228c274f0fa0717a287@osCommerce-Forums>
This message was sent from: General Support
http://forums.oscommerce.com/viewtopic.php?p=227431#227431
----------------------------------------------------------------

I seem to have found another problem with the Tax issue in MS1 which is giving me problems.

I have my Tax set at 17.5% on my website.

If for example a customer buys 6 products from my website worth $8.08 each excluding the Tax, oscommerce will work the Sub-Total as being $56.94 including tax, when it should be $56.96.

Reason for this error is this is how oscommerce calculates the sub-total:

[color=red]$8.08 + Tax = $9.49 x 6 = $56.94[/color]

But it should work it out like this:

[color=green]$8.08 x 6 = $48.48 + Tax = $56.96[/color]

Any ideas how I can fix this error?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.