octal - Maple Help

convert/octal

convert to octal form

 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

 > $\mathrm{convert}\left(12345,\mathrm{octal}\right)$
 ${30071}$ (1)
 > $\mathrm{convert}\left(100,\mathrm{octal}\right)$
 ${144}$ (2)