z = ComplexPolar(x,y)
Sets a complex number to a complex type variable z. Specifies a complex number with an absolute value x and a phase angle y (radian).
x : Double precision floating point type (Double)
y : Double precision floating point type (Double)
z : Complex type (Complex)
Dim a As Complex, pi As Double
pi = 3.14159265
a = ComplexPolar(2.5, 60 * pi / 180)