Math387.FormatCplx Method

Overload List

#SignatureDescription
1function FormatCplx(const Z: TCplx; const ReFormat: string; const ImFormat: string): string;The complex number Z formated as a string.
2function FormatCplx(const Z: TSCplx; const ReFormat: string; const ImFormat: string): string;

Overload 1: function FormatCplx(const Z: TCplx; const ReFormat: string; const ImFormat: string): string;

The complex number Z formated as a string.

#NameDescription
1ZDefines complex number for formatting: Z=Re+I*Im.
2ReFormatDefines string format used for formating real part of Z.
3ImFormatDefines string format used for formating imaginary part of Z.

Returns: String - the complex number Z formated as a string.

Remarks:

If ReFormat and ImFormat parameters are empty strings, the function calls Math387.CplxToStr.

See Also: Math387.FormatSample

Overload 2: function FormatCplx(const Z: TSCplx; const ReFormat: string; const ImFormat: string): string;

#NameTypeDescription
1ZTSCplx
2ReFormatstring
3ImFormatstring

Returns: String