Converts a decimal number to octal.
returns an octal number as text, given the decimal number, which must be between -229 and 229-1 inclusive, and may be text or a number.
The result is an octal number with up to ten digits in two's complement representation.
numdigits is an optional number specifying the number of digits to return.
returns 23 as text.
returns 23 as text. DEC2OCT will accept a decimal number given as text.
returns 023 as text. Leading zeroes are added to make 3 digits.
returns 7777777776 as text.