1

I want to change the price precision for showing 4 decimal points. I can see that this can be done by overwriting the

vendor/magento/zendframework1/library/Zend/Currency.php
How can I overwrite the Currency.php to my local?

1 Answer 1

1

As far as I know, Magento 2 has implemented its own currency module.

vendor/magento/framework/Currency.php

class Currency extends \Zend_Currency implements CurrencyInterface
{
   ......
}

If we're going to custom the price precision, we should see this guide.

6

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.