# HEX2DEC

## Content

This function converts a hexadecimal number to a decimal number.

## Syntax

`HEX2DEC(number)`

## Arguments

[Required] 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.

## Examples

`HEX2DEC("FF")`gives the result 255