Description Converts an octal number (base 8) to a decimal number (base 10).
Syntax OCT2DEC( integer)
Argument | Description |
---|---|
integer | Any negative or positive whole number or zero. For the purposes of this function, the integer entered must be small enough to convert within the limits of the target. Any integer between 0 and 3,777,777,777 may be used. |
Remarks Note that the result of this function is a number.
Examples This function returns 8:
OCT2DEC(10)
This function returns 536870911:
OCT2DEC(3777777777)
See Also BIN2DEC, BIN2HEX, BIN2OCT, DEC2BIN, DEC2HEX, DEC2OCT, HEX2BIN, HEX2DEC, HEX2OCT, OCT2BIN, OCT2HEX