VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: ufo_hk on April 06, 2019, 00:29:36 AM

Title: Shipment Costs and Taxes rounding
Post by: ufo_hk on April 06, 2019, 00:29:36 AM
Site: www.awsltd.co.nz
Joomla: 3.9.4
VM: 3.4.2

Issue: Invoice not showing correct rounded values for Shipping Cost and Tax on shipping. However overall total on invoice is correct but Tax total is incorrect.
Refer attached images for checkout Invoice and "View Order" display.

Have enabled the feature "Round only display" in <configuration><pricing>.

Since the Price ($10) and Tax (15%) for the Product and Shipping are the same - why do I get different results and how can I correct it?

Thanks in advance.

Title: Re: Shipment Costs and Taxes rounding
Post by: jjk on April 10, 2019, 23:30:32 PM
The rounding to 10.01 is mathematically correct. If you want to display 10.00, you probably will have to enter 8.695652174 (10 divided by 1.15) into the shipping cost configuration.