Functions

decoct

Supported By

Syntax

[the] decoct of factor

decoct ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put oct(6789) into steve

Description

The decoct 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".

Synonym

oct

See Also

octdec, bc, bin, hex