Here's a much more robust number formatter for JavaScript, written as a jQuery plugin.<p><a href="http://code.google.com/p/jquery-numberformatter/" rel="nofollow">http://code.google.com/p/jquery-numberformatter/</a>
Why not just use Javascript sprintf?<p><a href="http://www.diveintojavascript.com/projects/javascript-sprintf" rel="nofollow">http://www.diveintojavascript.com/projects/javascript-sprint...</a>