convert/octal
convert to octal form
Calling Sequence
Parameters
Description
Examples
convert(number, octal, precision)
number
-
decimal number
precision
(optional) integer; number of digits of precision
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.
convert⁡12345,octal
30071
convert⁡100,octal
144
See Also
convert
convert/base
convert/binary
convert/decimal
convert/hex
Download Help Document