Syntax
oct(integer)
Description
The oct() will return the octal equivalent of the decimal integer passed to the function.
Example
a=oct(12) println("The octal for 12 is: ", a) The octal for 12 is: 014
oct(integer)
The oct() will return the octal equivalent of the decimal integer passed to the function.
a=oct(12) println("The octal for 12 is: ", a) The octal for 12 is: 014