You are here: Symbol Reference > Math387 Namespace > Functions > Math387.FormatCplx Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Math387.FormatCplx Function

The complex number Z formated as a string.

Pascal
function FormatCplx(const Z: TCplx; const ReFormat: string = ' 0.###;-0.###'; const ImFormat: string = '+0.###i;-0.###i'): string; overload;
Parameters 
Description 
Defines complex number for formatting: Z=Re+I*Im
ReFormat 
Defines string format used for formating real part of Z
ImFormat 
Defines string format used for formating imaginary part of Z

the complex number Z formated as a string.

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

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!