JSREF

JavaScript Number toLocaleString()

Format a number into a string, using locale settings: