## Purpose

Converts a hexadecimal number to decimal

## Return value

Decimal number

## Syntax

`=HEX2DEC(number)`

*number*- The hexadecimal number you want to convert to decimal.

## How to use

- The input number must be less than or equal to ten alpha-numeric characters, otherwise the function returns the #NUM! error value.
- The internal (binary) representation of the hexadecimal number uses two's complement notation. The first bit indicates whether the number is positive or negative, and the other 39 bits indicate the magnitude of the number.