Javascript: Convert a number into a well formatted string
<p>In javascript, I have some numbers.</p>

<p>23, 100000, 5000, 45.543 </p>

<p>I want to convert each number into a well-formatted string
e.g.</p>

<p>'23.00', '1,000,000.00', '5,000.00' , '45.54'</p>

<p>How do I do that in javascript ? </p>

<p>I can do it easily in java (where there is a textformatter class for this)</p>

<p>thanks,</p>
