Integer.toString
Class Overview | Class Members | This Package | All Packages
Syntax
public static String toString( int i**, int** radix )
Parameters
- i
an integer. - radix
the radix.
Returns
a string representation of the argument in the specified radix.
Description
Creates a string representation of the first argument in the radix specified by the second argument.
If the radix is smaller than Character.MIN_RADIX or larger than Character.MAX_RADIX, then the radix 10 is used instead.
If the first argument is negative, the first element of the result is the ASCII minus character '-'. If the first argument is not negative, no sign character appears in the result. The following ASCII characters are used as digits: