ComplexAbs(x)
语法
Result = ComplexAbs(x)
说明
返回复数x的绝对值。
数据类型
x:复数类型(Complex)
结果:双精度浮点型(Double)
应用实例
Dim a As Complex, b As Double
a = ComplexSet(1.5, 2.0)
b = ComplexAbs(a)
Result = ComplexAbs(x)
返回复数x的绝对值。
x:复数类型(Complex)
结果:双精度浮点型(Double)
Dim a As Complex, b As Double
a = ComplexSet(1.5, 2.0)
b = ComplexAbs(a)