{"section":"known-issues","requestedLocale":"en","requestedSlug":"decidirv1-connectors-inconsistent-rounding-method-for-csptgrandtotalamount-and-csittotalamount-fields","locale":"en","slug":"decidirv1-connectors-inconsistent-rounding-method-for-csptgrandtotalamount-and-csittotalamount-fields","path":"docs/en/known-issues/Payments/decidirv1-connectors-inconsistent-rounding-method-for-csptgrandtotalamount-and-csittotalamount-fields.md","branch":"main","content":"## Summary\n\n\nThe legacy DecidirV1 connector uses an internal method to calculate the fields `CSPTGRANDTOTALAMOUNT` and `CSITTOTALAMOUNT`, which is the product between the product value and quantity. This approach results in a string with two decimal places. Consequently, when the product price contains more than two decimals, the value of the field `CSPTGRANDTOTALAMOUNT` diverges since it's the payment value itself.\n\n\n##\n\n## Simulation\n\n\nPlace an order using decidirV1 with a product in the cart with a price that has more than 3 decimals.\n\n\n##\n\n## Workaround\n\n\nTo avoid such discrepancies, we recommend using products with a maximum of two decimal places or modifying the checkout cart to eliminate the use of decimals."}