oct2dec() Function

Converts an Octal number as text to a Decimal number.

Syntax

oct2dec( value, … )

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

Returns

Integer

Notes

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

Examples

You can experiment with this function in the test box below.

Test Input

oct2dec(20) returns 16

Open in Github Built: Fri, Mar 11, 2022 (04:59:07 PM)

On This Page

FEEDBACK