DEC2OCT function

DEC2OCT converts a decimal number to an octal number.

Syntax

DEC2OCT(number, [places])

Number is a decimal number. If Number is negative, the function returns an octal number with 10 characters (30 bits). The most significant bit is the sign bit, the other 29 bits return the value.

Places means the number of places to be output.

Example

=DEC2OCT(100,4) returns 0144.