New Zenner
- Join Date:
- May 2008
- Location:
- Thousand Oaks, CA
- Posts:
- 30
- Plugin Contributions:
- 0
[Done v1.3.9] Sales Tax Calculation Incorrect
Perhaps a bad example of what I meant:
Here's another Sample order:
Sub-Total: $17.99
Standard: $7.99
Discount Coupon: SAVE20 : -$3.60
Tax (CA residents only) + : $1.18
Total: $23.56
Tax Rate of 8.25%
In the MySQL orders_total table it stores the tax as value 1.1838.
The value I get with my trusty calculator is 1.187175. Rounded up the value should be 1.19.
The problem is that half of the taxable orders end up rounding incorrectly, so at the end of the month I'm a dollar or more off my numbers. It's more annoying than anything else, but I'm really curious if this is a problem inherent in Zen Cart. I do have a number of mods installed--it could always be something like that--but I've tried not to tinker with anything crucial to order processing.
Anyway, looking through my orders it looks like something that's existed since installation. I have two sites and one is running 1.3.8 and the other is still on 1.3.7 but the problem looks like it exists in both locations.