IMARGUMENT

Returns the angle of a complex number in radians.

Sample Usage

IMARGUMENT("3+4i")
IMARGUMENT(COMPLEX(8, 1))

Syntax

IMARGUMENT(complex_number)

  • complex_number - The complex number whose angle is to be computed.

 Examples

IMARGUMENT("3+4i") returns a value of 0.92729
IMARGUMENT(COMPLEX(8, 1)) returns a value of 0.12435

Notes

  • complex_number can be either the result of the COMPLEX function, or a real number (interpreted as a complex number with imaginary part equal to 0), or a string in the format “x+yi” where x and y are numeric.