Skip to main content

OCT2DEC

Definition of OCT2DEC

Converts a signed octal number to decimal format.

Sample Usage

OCT2DEC(37)

OCT2DEC(A2)

Syntax

OCT2DEC(signed_octal_number)

  • signed_octal_number - The signed 30-bit octal value to be converted to decimal, provided as a string.

    • The most significant bit of signed_octal_number is the sign bit; that is, negative numbers are represented in two's complement format.

    • For this function, this value has a maximum of 3777777777 if positive, and a minimum of 4000000000 if negative.

    • If signed_octal_number is provided as a valid octal number, it will automatically be converted to the appropriate string input. For example, OCT2DEC(177) and OCT2DEC("177") yield the same result:127.

Notes

  • As with any octal value, only the digits 0-7 are valid. Digits outside of this will cause OCT2DEC to return a #NUM! error.

See Also

OCT2BIN: Converts a signed octal number to signed binary format.

HEX2OCT: Converts a signed hexadecimal number to signed octal format.

HEX2DEC: Converts a signed hexadecimal number to decimal format.

HEX2BIN: Converts a signed hexadecimal number to signed binary format.

DEC2OCT: Converts a decimal number to signed octal format.

DEC2HEX: Converts a decimal number to signed hexadecimal format.

DEC2BIN: Converts a decimal number to signed binary format.

BIN2OCT: Converts a signed binary number to signed octal format.

BIN2HEX: Converts a signed binary number to signed hexadecimal format.

BIN2DEC: Converts a signed binary number to decimal format.

In order to use the OCT2DEC formula, start with your edited Excellentable:

Then type in the OCT2DEC Formula in the area you would like to display the outcome:

By adding the value you would like to calculate the OCT2DEC formula for, Excellentable will generate the outcome:

 

Error.

User does not have sufficient privileges to access this Content
Learn More

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.