RealPart(
x
)
Returns the real component of a real or complex number.
Example
=
Block
{
ShowRealPart
(3
+
5
*
Math
.
I
);
ShowRealPart
(
Math
.
I
);
ShowRealPart
(2);
};
The real part of of 3
+
5
i
is 3.
The real part of of
i
is 0.
The real part of of 2 is 2.