# DEC2OCT Function

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

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

---

## On This Page

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

---

## Nearby

- **Previous:** [DEC2HEX Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dec2hex/llms.txt)
- **Next:** [DECIMAL Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/decimal/llms.txt)
