convert/octal - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Conversion : convert/octal

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 can be either positive or negative, 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

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam