> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.66/nedyx/clearlines-functions/mathematical-functions/hextodec.md).

# HEXTODEC

#### Syntax

**HEXTODEC**(*hexValue*)

1. *hexValue* - the hexadecimal value which should be converted to a decimal number - ***Value type**: text*

#### Remarks

1. The function returns the decimal representation of *hexValue*, as value type *number*.
2. A negative *hexValue* returns a negative decimal number.

**Examples**

*Example 1* - HEXTODEC of a single value:

<figure><img src="/files/1x5WWzJnSXRLfiVYPrba" alt=""><figcaption></figcaption></figure>

*Example 2* - HEXTODEC for a range of values:

<figure><img src="/files/ov3TJyrVokFlYKfBTci2" alt=""><figcaption></figcaption></figure>
