- Issue created by @psf_
When using a currency that does not have decimal places, the Currency module still applies decimal formatting incorrectly. This leads to unexpected display issues.
Modify the condition in the formatting logic from:
if ($use_currency_precision && $this->getSubunits())
to:
if ($use_currency_precision)
This ensures that the formatting logic correctly follows the currency's precision setting.
None.
None.
None.
Active
3.0
Code