Converts an octal number to its corresponding binary representation.
Syntax:
OCT2BIN( number {, places: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 and the highest (tenth) bit is the sign bit of the binary result.
If specified, places must be in the range 1..10. If places is omitted, the minimum appropriate number of digits is returned.
Examples:
OCT2BIN("377", 10)
returns the text string "0011111111"
.
OCT2BIN("7777777777")
returns the text string "1111111111"
.
Revisions:
This function was added in Fireworkz 2.24.