Converts an octal number to its corresponding decimal value.
Syntax:
OCT2DEC( number )
number may be a string, or a number, of up to ten octal digits.
Two's complement representation is used: the highest (thirtieth) bit is the sign bit of the octal number.
Examples:
OCT2DEC("3210")
returns the text string 688
.
OCT2DEC("7777777777")
returns the text string -1
.
Revisions:
This function was added in Fireworkz 2.24.