Can anyone get the % conversion character to work with money_format()?
This is the only way I can get it to work:
setlocale(LC_MO NETARY, 'en_US');
echo money_format('% !.2n%%', 123.4);
However according to the documentation, this should work:
setlocale(LC_MO NETARY, 'en_US');
echo money_format('% .2%', 123.4);
This is the only way I can get it to work:
setlocale(LC_MO NETARY, 'en_US');
echo money_format('% !.2n%%', 123.4);
However according to the documentation, this should work:
setlocale(LC_MO NETARY, 'en_US');
echo money_format('% .2%', 123.4);