JavaScript » Number » toString

Syntax:
object.toString([radix])

This method returns a string representing the Number object, and is called by JavaScript whenever the code requires a string value. The optional 'radix' parameter is an integer between 2 and 36 which specifies the base to be used when representing numeric values. This method overrides the Object.toString method.