alert((new Number("300.333")).[link:http://bclary.com/2004/11/07/ecma-262.html#a-15.7.4.3@title=toLocaleString]());
alert((new Number("300,333")).toLocaleString());
» ...
15.7.4.3 Number.prototype.toLocaleString()
Produces a string value that represents the value of the Number formatted according to the conventions of the host environment's current locale. This function is implementation-dependent, and it is permissible, but not encouraged, for it to return the same thing as toString.
NOTE
The first parameter to this function is likely to be used in a future version of this standard; it is recommended that implementations do not use this parameter position for anything else.
... «