Number.prototype.toString

Returns a string representation of an object.

Syntax

toString(radix?)

Parameters

Examples

(123).toString()
"123"
(123).toString(2)
"1111011"
(123).toString(16)
"7b"
(123).toString(36)
"3f"