Top  | Previous | Next

Strings / fromOctal

fromOctal(string)

Returns an integer value of the octal formatted string argument. Numbers outside of the range (-231) - (231-1), and strings that are not octal numbers, return null.

 

fromOctal("77")

...returns 63

 

fromOctal("-77")

...returns -63