Top  | Previous | Next

Strings / toOctal

toOctal(int)

Returns an octal formatted string representing the unsigned integer argument. If the argument is negative, the octal string represents the value plus 232.

 

toOctal(255)

...returns "377"

 

toOctal(-255)

...returns "37777777401"