# DELTA Function

> Test whether two numbers are equal with the DELTA formula function of TX Sheet Control: returns 1 or 0, the default second number of 0 and the #VALUE! error.

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

---

Test whether two numbers are equal. DELTA returns 1 when `number1` equals `number2` and 0 otherwise; `number2` is 0 when omitted. Text that is not a number returns `#VALUE!`.

### Syntax

```text
DELTA(number1, number2)
```

Category: Engineering. Minimum arguments: 1. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=DELTA(2,2)
```

The formula returns 1.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [DEGREES Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/degrees/llms-full.txt)
- **Next:** [DETECTLANGUAGE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/detectlanguage/llms-full.txt)
