Math387.CplxToStr Method

Overload List

#SignatureDescription
1function CplxToStr(const Z: TCplx; const Digits: Integer; Precision: Integer): string;Converts complex number to a string.
2function CplxToStr(const Z: TSCplx; const Digits: Integer; Precision: Integer): string;

Overload 1: function CplxToStr(const Z: TCplx; const Digits: Integer; Precision: Integer): string;

Converts complex number to a string.

#NameTypeDescription
1ZTCplx
2DigitsInteger
3PrecisionInteger

Returns: String - complex number, converted to string.

Remarks:

The Digits parameter controls the minimum number of zeros in the exponent (between 0 and 4). The conversion uses general number format with 15 significant digits for double precision and 7 digits if you are using single precision version of Math387.

See Also: Math387.StrToCplx

Overload 2: function CplxToStr(const Z: TSCplx; const Digits: Integer; Precision: Integer): string;

#NameTypeDescription
1ZTSCplx
2DigitsInteger
3PrecisionInteger

Returns: String