number.toText(number [ , base [ ( , width ] ])

Converts the integer number to a text form. The default is to use the base 10 representation. If the optional base argument is given, conversion uses that base instead. Only bases 8, 10 and 16 are supported. If the optional width argument it given, the output is padded with leading zeros to have at least the specified width. If the number is too large, the output may exceed the specified width.

Was this page helpful? Yes No Submitting... Thank you