convert js number to xxx xxx xxx ,xx?
<p>I have an number I want convert its format to <code>xxx xxx xxx,xx</code>(will use for display in html page)</p>

<p>Example </p>

<pre><code>1069.83 
</code></pre>

<p>to </p>

<pre><code>1 069,83 
</code></pre>

<p>OR something like this</p>

<pre><code>13761000.00     
</code></pre>

<p>to</p>

<pre><code>13 761 000,00   
</code></pre>

<p>In JavaScript are the build-in function or the ways  to do this?</p>
