# FACT Function

> Return the factorial of a number with the FACT formula function of TX Sheet Control: truncated decimals, FACT(0), the #NUM! error above 170 and an example.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [EXPONDIST Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/expondist/llms.txt)
- **Next:** [FACTDOUBLE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/factdouble/llms.txt)
