# IMARGUMENT Function

> Return the argument of a complex number in radians with the IMARGUMENT formula function of TX Sheet Control: the range from -π to π, the #DIV/0! error.

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

---

Return the argument of a complex number, the angle in radians between the positive real axis and the number. `inumber` is a complex number as text in the form x+yi or x+yj, or a real number. The result is from -π to π; 0 returns `#DIV/0!`.

### Syntax

```text
IMARGUMENT(inumber)
```

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

Available for supported offline calculation.

### Examples

```text
=IMARGUMENT("2+3i")
```

The formula returns 0.9827937232 radians.

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:** [IMAGINARY Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/imaginary/llms-full.txt)
- **Next:** [IMCONJUGATE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/imconjugate/llms-full.txt)
