I’m passing in 39.355 as the line item price, and with a quantity of 6, the line item total should be 39.355 * 6 = 236.13, but it’s showing 236.16 (39.36 * 6):
Currently, Shopify does not support three decimal places in order total calculations. Prices are rounded to two decimal places, which is why your product priced at $39.355 was rounded to $39.36, resulting in a total of $236.16 for a quantity of 6. This rounding follows standard currency formatting practices. Unfortunately, there’s no built-in option to accommodate three decimal points, If precise calculations with three decimal places are essential for your business, you may want to consider exploring custom solutions.
The information I have provided is based on the details shared by Shopify support. If you have any doubts, please refer to the chat log
Dude I know you’re trying to help but please stop if you’re just gonna keep posting AI answers.
I truly appreciate your feedback, but I’d like to clarify that I am not relying solely on AI for answers. I only use ChatGPT to improve my answers. I input my answers into ChatGPT to enhance the grammar. I do not copy any part of any answer from AI. If I have any doubts, I consult the Shopify support team, and after confirming, I post the answer in this community after improving the grammar using ChatGPT. My English is not perfect, so I rely on ChatGPT for grammar improvement.
When I respond, I ensure that the information is thoroughly researched, whether it’s through Shopify’s official documentation, support team (via email or chat), or other credible sources.
If there’s ever any doubt or a question I can’t address directly, I reach out to Shopify’s support team to verify the details before sharing them with you. My goal is always to provide accurate and reliable answers.
Regarding the previous instance you mentioned, I recognize that the information I provided was related to updating inventory via the Shopify Admin, but it might have caused confusion since it pertained to a different context than the app. I sincerely apologize for any miscommunication caused earlier.
Please let me know if there’s anything specific you’d like me to address or clarify further. I’m here to ensure your concerns are resolved efficiently.
I’m mean, as I’m aware and as previously eloquent answer mentioned, it’s not supported.
There’s been some changes around precision and rounding over the years. Namely, last year, they changed how line item discount are calculated in terms of precision and subsequently returns.
There also has been some bugs where capture transactions will leave 0.01 on the order as a result of precision miss march between Shopify payments and Shopify itself, but those have been fixed a while back.
Funnily enough some currencies support higher precision point in Shopify - or at least did so in the past. I believe it was one if the Asian countries.
We’ve been integrating 3rd party systems into Shopify for a while, including “past orders” data, and this has come up as well.
That being said, I don’t think Shopify can change this due to amount of dependant systems. I guess they can, but it would be a massive breaking change. Also many downstream services would expect 2 digit precision in the Western world, so rounding would still need to be made, but now outside of Shopify, which would complicate sending data back to Shopify, such invoice notes for capturing transactions, returns, etc.
Thanks for confirming Evaldas!