TX Sheet Control

HEX2DEC Function

Function

Convert a hexadecimal number to decimal. number is the hexadecimal number of up to 10 characters; a number from 8000000000 to FFFFFFFFFF is negative in two's complement, so FFFFFFFFFF returns -1. More than 10 characters or an invalid hexadecimal number returns #NUM!. HEX2DEC takes only number: the places shown in the syntax is not accepted and returns #VALUE!.

Syntax

HEX2DEC(number, places)

Category: Engineering. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

Examples

=HEX2DEC(10)

The formula returns 16.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also