Mwnci oct() Function

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