oct2bin() Function

Converts an Octal number as text to a Binary number as text.

Syntax

oct2bin( value, [place] )

Returns

Text

value: (Text) Octal value as text to convert, such as 771.

place: (Number) The number of places in the result.

Notes

Invalid digits for a value parameter, including signs, are ignored.

The default value for place is however many places are necessary to represent the number.

Examples

oct2bin(144) returns 1100100

Open in Github Built: Fri, Jun 24, 2022 (02:09:25 PM)

On This Page

FEEDBACK