Proper rounding is now applied to a discounted item price
Previously, when an absolute discount value applied in the cart caused the new item price to be a trailing decimal value, it resulted in a failed cart calculation. For example, when a discount amount of $10.00 is distributed proportionally across three items in the cart, it causes the new item price to be a trailing decimal value, which caused an error during the calculation.
To resolve this issue, a minimum precision of ten digits after the decimal is now applied. If the 11th digit is equal to, or larger than, a value of five (5), the 10th digit is rounded up.
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.