Odd... are any of your other charges rounded as well?
<%
function WAEC_eCart1_SalesTax()
totalTax = 0
if (true AND ((WA_eCart_GetTaxableTotal(eCart1) > 0) AND (cStr(Session("eCartCheckoutForm_shipping_state_province")) = "CA"))) then
totalTax = totalTax + (WA_eCart_GetTaxableTotal(eCart1) * cDbl(0.0975))'Result
end if
WAEC_eCart1_SalesTax = WA_eCart_FormatNumber(totalTax, eCart1.ForceDecimalsC, eCart1.DecimalPlacesC)
end function
%>
was the code I was looking for from this file, as well as:
thisCart.ForceDecimalsW = false
thisCart.DecimalPlacesW = 2
This all looks correct to me though. What about where it is displayed? Maybe it is rounded incorrectly there? Is it accounted for in the grandtotal as the rounded value or is it correct in the grand total?