-
Notifications
You must be signed in to change notification settings - Fork 9.4k
fix Display tax percent in current locale number format #32272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@magento run all tests |
e2ab7bf
to
3b56923
Compare
@magento run all tests |
@magento run all tests |
@magento run all tests |
@magento give me test instance |
Hi @danielrussob. Thank you for your request. I'm working on Magento instance for you. |
@magento give me 2.4-develop instance |
Hi @danielrussob. Thank you for your request. I'm working on Magento instance for you. |
Hi @danielrussob, here is your Magento Instance: https://55e06e179063e9445d9ea209e067d54a.instances.magento-community.engineering |
Hi @danielrussob, here is your Magento Instance: https://55e06e179063e9445d9ea209e067d54a-2-4-develop.instances.magento-community.engineering |
getFormattedPercent: function (amount) { | ||
var format = Object.assign({}, quote.getPriceFormat()); | ||
|
||
format.requiredPrecision = this.countPrecision(amount, format.decimalSymbol); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @engcom-Charlie,
I'm curious about why did you have to calculate the required precision?
I see that the priceUtils.formatPrice()
function already has a fallback value (precision of 2 digits) in case format.requiredPrecision
is not defined.
Thank you
Hello @daniel-ifrim , I'm not able to see a fix on your PR's instance, as you can see in the screenshot |
Looks like issue has not been resolved and code review questions were not addressed. Closing for now. |
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)