Of course, sorry for the late answer.
The number formatter simply has to be set to the hungarian locale and
have the currency set to HUF.
The expected result in this case is: 5 000,00 Ft
The actual result I get is: 5 000,00 HUF
I've come to suspect it is the ICU library this PHP library was built
with that is missing the required locale data.
Here's a code example:
<?php
$nf = new \NumberFormatter("hu@currency=HUF", \NumberFormatter::CURRENCY);
echo $nf->format(5000);
** Changed in: php7.0 (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636205
Title:
NumberFormatter has incorrect currency symbols for certain locales
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1636205/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs