javascript Number toLocaleString( )
@March 15, 2008, 1:22 a.m.
toLocaleString( ) | Firefox/Netscape/NN 6 IE 5(Mac/5.5(Win) ECMA 3 |
Returns a string version of the number object's value. The precise format of the returned value is not mandated by the ECMA standard, and may be different from one local currency system to another (as set in the client computer's international preferences). On a U.S. English system, IE 5.5 and later for Windows returns a value with two digits to the right of the decimal (rounding values if necessary), with commas denoting thousands, millions, and so on. IE 5 for Macintosh does the same except for the commas. Netscape 6 performs no special formatting. |
|
Parameters | |
None. |
|
Returned Value | |
String. |
Powered by Linode.