Functions

oct

Supported By

Syntax

[the] oct of factor

oct ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put oct(6789) into steve

Description

The oct function converts a real or complex number in decimal, or base ten, to the same number in octal, or base eight. For example, oct(493) gives "755".

See Also

bc, bin, hex