Complex.prototype.arg

Returns the argument of the complex number.

Syntax

arg()

Return value

A number.

Examples

(3+4*I).arg()
0.9272952180016122324285124629224288