# DEC2HEX Function

> Convert a decimal number to hexadecimal text with DEC2HEX in TX Sheet Control: the valid range, two's complement for negatives, places and errors.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [DEC2BIN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dec2bin/llms.txt)
- **Next:** [DEC2OCT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dec2oct/llms.txt)
