octal - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


convert/octal

convert to octal form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert(number, octal, precision)

Parameters

number

-

decimal number

precision

-

(optional) integer; number of digits of precision

Description

• 

The convert/octal function converts a decimal number to an octal number. The number must be nonnegative, and can be either an integer or a floating-point number.  In the case of a floating-point number an optional third argument determines the total number of digits of precision in the answer (the default is Digits).

• 

The octal number is returned as a base 10 number consisting of the digits 0 through 7.

Examples

convert12345,octal

30071

(1)

convert100,octal

144

(2)

See Also

convert

convert/base

convert/binary

convert/decimal

convert/hex