DEC2OCT function

DEC2OCT converts a decimal number to an octal number.


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.


=DEC2OCT(100,4) returns 0144.