hex2dec() Function

Converts a Hex number as text to a Decimal number.

Syntax

hex2dec( value, … )

value: (Text) Hex value as text to convert, such as A5.

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

hex2dec(10) returns 16

FEEDBACK