Functions

octdec

Supported By

Syntax

[the] octdec of factor

octdec ( expression )

Factor and expression yield strings.

Example

put octdec("4631") into steve

Description

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

See Also

decoct, bc, bindec, hexdec