Integer.toOctalString
Class Overview | Class Members | This Package | All Packages
Syntax
public static String toOctalString( int i )
Parameters
- i
an integer
Returns
the string representation of the unsigned integer value represented by the argument in octal (base&mnsp;8).
Description
Creates a string representation of the integer argument as an unsigned integer in base 8.
The unsigned integer value is the argument plus 232 if the argument is negative; otherwise, it is equal to the argument. This value is converted to a string of ASCII digits in octal (base 8) with no extra leading 0s.