# HEX2DEC Function

> Convert a hexadecimal number of up to 10 characters to decimal with HEX2DEC in TX Sheet Control: two's complement for negative numbers and #NUM! errors.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > HEX2DEC Function
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2dec/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2dec/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2dec/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2dec/#syntax)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2dec/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2dec/#see-also)

---

## Nearby

- **Previous:** [HEX2BIN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2bin/llms.txt)
- **Next:** [HEX2OCT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2oct/llms.txt)
