toString()

Description :

This method converts a number to string format

Syntax :

[number].toString(base)

Input Parameters :

base - Optional Parameter.
The base number shuould be specified in the number before converting into string. Must be between 2 to 36

Return Values :

Returns the string value of the Integer for the mentioned base number.


Test this method :

Test Result :   
Your Code :