RealPart (FPScript)
Forms the real part of real or complex numbers.
Syntax
RealPart(Number)
The syntax of the RealPart function consists of the following parts:
Part |
Description |
---|---|
Number |
The real or complex number for which the real part is determined. All data structures are allowed. All numeric data types are permitted, except calendar time und time span. |
Remarks
The result has the same structure and unit as the argument Number.
For signals, only the Y component is considered. If Number is real, then the result is of the same data type. Otherwise, the result is of the corresponding real data type for the complex argument.
The real part of a real number is the number itself.
If the argument is a list, then the function is executed for each element of the list and the result is also a list.
Available in
FlexPro Basic, Professional, Developer Suite
Examples
RealPart((3, 4)) |
Results in 3. |
RealPart(3.5) |
Results in 3.5. |
See Also
You might be interested in these articles
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information