Complex.Re(z) returns a real number equal to the real part of z
The following example defines z as a complex number and sets x equal to its real part.
-- Complex.Re(z) z = 3 + 2 * I x = Complex.Re(z) print("z = ",z) print("x = Re[z] = ",x)
z = (3 + 2 I) x = Re[z] = 3