PHP money_format() -- No comma delimiter?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4158517/php-money-format">PHP money_format</a>  </p>
</blockquote>



<p>Why does this:</p>

<pre><code>setlocale(LC_MONETARY, 'en_US');
echo money_format('%i', 1234.56);
</code></pre>

<p>Output the value I gave it (1234.56)?
I'm using Linux with basic LAMP installation.</p>

<p>Expected output is "1,234.56"</p>

<p>EDIT:
<code>locale -a</code> returns the following list:</p>

<pre><code>C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX
zh_CN.utf8
zh_SG.utf8
</code></pre>

<p>That's annoying. en_US.utf8 works just fine!</p>
