HEX2DEC function

Description

Hexadecimal number to decimal number. HEX2DEC(h) converts a hexadecimal number to a decimal number.

Text strings in an argument list must be enclosed in quotation marks, so the correct use of the function is for example HEX2DEC("A2"). Without the quotation marks, HEX2DEC(A2) would return the decimal value of the hexadecimal number stored in the spreadsheet cell A2.

Example

HEX2DEC('FF') returns 255

Calculator

HEX2DEC()

Related functions

This site uses cookies to store information on your computer. More info...