% conversoin character with money_format

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris  Stone

    % conversoin character with money_format

    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);

Working...