Rounding logic removed from the Tax service
Previously, the Tax service had a rounding logic when calculating the taxes for the cart. The rounding logic is applied to the calculated tax value before the Tax service passes the value to the Cart Calculation service. When the rounding logic is applied here, the Cart Calculation service loses some calculation precision.
To improve the precision of the cart calculation, the Tax service now passes its values without any rounding or scaling logic. Previously a tax of 1.9545 would be returned as 1.95. Now the Tax service takes the entire value (1.9545) and passes that value to the Cart Calculation service.
This improvement is also applied to the Tax Avalara and Cart Calculation services so there is consistency between all of the services.
If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.
Use our private help channel. Receive updates over email and contact our specialists directly.
If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.