Returns a string representation of the first argument in the
radix specified by the second argument.
<p>If the radix is smaller than {@code Character.MIN_RADIX}
or larger than {@code Character.MAX_RADIX}, then the radix
{@code 10} is used instead.
<p>If the first argument is negative, the first element of the
result is the ASCII minus sign {@code '-'}
({@code '\u005Cu002d'}). If the first argument is not
negative, no sign character appears in the result.
<p>The remaining characters of the result represent the magnitude
of the first argument. If the magnitude is zero, it is
represented by a single zero character {@code '0'}
({@code '\u005Cu0030'}); otherwise, the first character of
the representation of the magnitude will not be the zero
character. The following ASCII characters are used as digits:
These are {@code '\u005Cu0030'} through
{@code '\u005Cu0039'} and {@code '\u005Cu0061'} through
{@code '\u005Cu007a'}. If {@code radix} is
<var>N</var>, then the first <var>N</var> of these characters
are used as radix-<var>N</var> digits in the order shown. Thus,
the digits for hexadecimal (radix 16) are
{@code 0123456789abcdef}. If uppercase letters are
desired, the {@link java.lang.string#toUpperCase()} method may
be called on the result:
@param i a {@code long} to be converted to a string.
@param radix the radix to use in the string representation.
@return a string representation of the argument in the specified radix.
@see java.lang.Character#MAX_RADIX
@see java.lang.Character#MIN_RADIX
Returns a string representation of the first argument in the radix specified by the second argument.
<p>If the radix is smaller than {@code Character.MIN_RADIX} or larger than {@code Character.MAX_RADIX}, then the radix {@code 10} is used instead.
<p>If the first argument is negative, the first element of the result is the ASCII minus sign {@code '-'} ({@code '\u005Cu002d'}). If the first argument is not negative, no sign character appears in the result.
<p>The remaining characters of the result represent the magnitude of the first argument. If the magnitude is zero, it is represented by a single zero character {@code '0'} ({@code '\u005Cu0030'}); otherwise, the first character of the representation of the magnitude will not be the zero character. The following ASCII characters are used as digits:
<blockquote> {@code 0123456789abcdefghijklmnopqrstuvwxyz} </blockquote>
These are {@code '\u005Cu0030'} through {@code '\u005Cu0039'} and {@code '\u005Cu0061'} through {@code '\u005Cu007a'}. If {@code radix} is <var>N</var>, then the first <var>N</var> of these characters are used as radix-<var>N</var> digits in the order shown. Thus, the digits for hexadecimal (radix 16) are {@code 0123456789abcdef}. If uppercase letters are desired, the {@link java.lang.string#toUpperCase()} method may be called on the result:
<blockquote> {@code Long.toString(n, 16).toUpperCase()} </blockquote>
@param i a {@code long} to be converted to a string. @param radix the radix to use in the string representation. @return a string representation of the argument in the specified radix. @see java.lang.Character#MAX_RADIX @see java.lang.Character#MIN_RADIX