Posted by Chris Stone on 12/17/21 11:56
Can anyone get the % conversion character to work with money_format()? This is the only way I can get it to work: setlocale(LC_MONETARY, 'en_US'); echo money_format('%!.2n%%', 123.4); However according to the documentation, this should work: setlocale(LC_MONETARY, 'en_US'); echo money_format('%.2%', 123.4);
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming