0

When getting order details from Magento, the base_tax_amount currently gives the price with only 2 decimal places, i.e 1.23, is there any way of getting the price with 4 decimal places? i.e 1.2345

This is for API purposes and doesn't need to display as 4 decimal places on the frontend or even in the admin panel, it is just so an offline account system can get the precise tax amount.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.