I did see a post but it only applied to earlier version. Where can I correct this rounding problem? I need my tax to be .0925 or 9.25 % and have it calculate properly. It is most always a penny off. Please help. We are trying to go live.
What I think is happening is that the Shipping Tax is being calculated separately then rounded. In the tax service module it is defining shippingtax as :
if (shippingExclTax.HasValue && shippingInclTax.HasValue)
{
shippingTax = shippingInclTax.Value - shippingExclTax.Value;
//tax rates
if (taxRate > decimal.Zero && shippingTax > decimal.Zero)
{
if (!taxRates.ContainsKey(taxRate))
{
taxRates.Add(taxRate, shippingTax);
}
else
{
taxRates[taxRate] = taxRates[taxRate] + shippingTax;
}
}
}
shippingTax = shippingInclTax.Value - shippingExclTax.Value
Then it is added back in to the tax total. This is where I am losing a penny.
Thanks!
Jim Frye