ComplexArg(x)

E5071C

ComplexArg(x)

语法

Result = ComplexArg(x)

说明

返回复数x的相角(弧度)。

数据类型

x复数类型(Complex)

结果双精度浮点型(Double)

应用实例

Dim a As Complex, b As Double, c As Double, pi As Double
a = ComplexSet(1.5, 2.0)
b = ComplexArg(a)
pi = 3.14159265
c = b * 180 / pi      ‘ radian -> degree