RELEASE NOTES/Cart Calculation/Cart Calculation v1

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.

  • Send feedback

    If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.

  • Get Help

    Use our private help channel. Receive updates over email and contact our specialists directly.

  • hybris Experts

    If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.