formatCurrency bug

Is the formatCurrency method of the NumberFormatter class in PHP working properly for you or does it return things like “NaN” and “¤¤¤”?

This is probably PHP bug #54538 that actually is ICU bug #8561 that might be the same as ICU bug #8214.

I have worked around it by being more careful about what locales are allowed.


Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.