Persian Rial Currency does not have .00 at the end meaning that for example 21.00 is not applicable
the rial currency is such 34000 Rial
5400Rial
there is a comma delimiter that is arbitrary for any thousand
for example 34,000
5,400
9,360,764
but there shoudn't be .00 at the end since does not have any value
It's same in JPY (and maybe same for TWD, IDR, VND and KRW)
And HUF: https://github.com/magento/magento2/issues/10954#issuecomment-350783072
Not sure if discarding decimal described in https://github.com/magento/magento2/issues/1240 is the right method for every such currency.
changing this behavior for just only some currencies
some people has modified the core to remove the .00 decimal at the end of prices but it is not a good idea and having a conditional to just only for some currencies or having this as an option in the backend would be a great Idea
@woshka I believe you didn't understand my point :)
I'm saying that the way rounding should work for JPY may be not applicable for some other similar currencies like HUF or IRR.
So this could be not a problem just with displaying prices but also how you calculate taxes.
@orlangur
I am not familiar with the JPY currency system
however if there are differences for any countries currencies there should be a configurable change at the installation level which can not be reverted for a specific store
or at least make changes just only on the view when a specific currency is enabled
after all having .00 omitted at least on the view is essential for IRR currency
Is there any plan to add this feature
Thanks
@orlangur @magento-engcom-team @HirokazuNishi
I've found an extenssion that do this
but it would be wise to have magento team itself to develop an option to change the decimal digits
https://github.com/lillik/magento2-price-decimal
Hi @woshka. Thank you for the report. We are moving your feature request to the special project. You can track this issue here: https://github.com/magento/community-features/issues/69