-
Notifications
You must be signed in to change notification settings - Fork 118
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
Currency variable modifier decimals param not functioning #1879
Comments
Still seeing this in PHP 8+ and EE 7.1.6 |
Hi @chrisdaviesweb we're taking a peek at this one currently.. any chance you can check and see if you have https://www.php.net/manual/en/book.intl.php library installed? If its easier, you could send us your PHP info page output on slack. |
Hi @TomJaeger - I've just checked. I see the following for 'Intl'. |
We had several people trying to replicate this, could not. Seems to be very specific to reporter's server environment. Keeping the issue open to see if other similar reports come in |
When using the currency variable modifier with GBP, the decimals param doesn't function.
PHP 7.4
EE 6.2.7 and earlier
{FIELD_NAME:currency currency="GBP" decimals="0"}
Testing with other currencies, including USD, shows the decimals functioning correctly, so it appears to be dependant on currency.
The text was updated successfully, but these errors were encountered: