HEX2DEC

Converts a hexadecimal number to decimal.

Syntax

=HEX2DEC(Number)

Arguments

Name

Description

Number

The hexadecimal number to convert.

Return Value

The decimal number or a #NUM! error if given number is not a valid hexadecimal number.

Example

Function

Result

Comment

=HEX2DEC(“A5”)

165

converts hexadecimal A5 to decimal