# GCD Function

> Return the greatest common divisor of integers with the GCD formula function of TX Sheet Control: arrays, truncated decimals, #NUM! and #VALUE! errors.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [GAUSS Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/gauss/llms.txt)
- **Next:** [GEOMEAN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/geomean/llms.txt)
