# HEX2DEC

## Content

This function converts a hexadecimal number to a decimal number.

## Syntax

`HEX2DEC(number)`

## Arguments

Specify the number to convert, which is limited to a maximum of 10 characters.

## Remarks

An error value is returned if the *number* is invalid or more than 10 characters.

## Data Types

Accepts numeric data. Returns numeric data.

## Examples

`HEX2DEC("FF")`