November 2001
Intermediate to advanced
936 pages
68h 43m
English
Number.toLocaleString( ) — convert a number to a locally formatted string
JavaScript 1.5; JScript 5.5, ECMAScript v3
number.toLocaleString( )An implementation-dependent string representation of the number, formatted according to local conventions, which may affect such things as the punctuation characters used for the decimal point and the thousands separator.
TypeError
If this method is invoked on an object that is not a Number.