Math387.FormatCplx Method

Overload List

#SignatureDescription
1String FormatCplx(TCplx Z, String ReFormat, String ImFormat)The complex number Z formated as a string.
2String FormatCplx(TSCplx Z, String ReFormat, String ImFormat)

Overload 1: String FormatCplx(TCplx Z, String ReFormat, String ImFormat)

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 Dew.Math.Units.Math387.CplxToStr.

See Also: Math387.FormatSample

Overload 2: String FormatCplx(TSCplx Z, String ReFormat, String ImFormat)

#NameTypeDescription
1ZTSCplxscalar
2ReFormatString
3ImFormatString

Returns: String