# IMARGUMENT

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function returns the argument theta, which is an angle expressed in radians.

## Syntax

IMARGUMENT(*complexnum*)

## Arguments

The *complexnum* argument is a complex number for which to return the argument theta.

## Remarks

The *complexnum* argument is a complex number for which to return the argument theta.
An error is returned if number is not in the form "x+yi" or "x+yj". For more information, refer to [Complex Numbers in Engineering Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsengineer/formulas-complexnumbers).

## Data Types

Accepts number and string data. Returns number data.

## Examples

`IMARGUMENT("3+5j")`

## Version Available

This function is available in product version 2.0 or later.

## See Also

[COMPLEX](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionCOMPLEX) \| [IMCOS](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionIMCOS) \| [IMSIN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionIMSIN) \| [Engineering Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsengineer) \| [Complex Numbers in Engineering Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsengineer/formulas-complexnumbers)