Close
Close window
octal - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

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

>

convert12345,octal

30071

(1)
>

convert100,octal

144

(2)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /