RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarCmplx.ComplexNumberSymbol Variable

Indicates the symbol used to represent the imaginary part of a complex number.

Pascal
ComplexNumberSymbol: string = 'i';
C++
AnsiString ComplexNumberSymbol = 'i';

Custom Variants that represent complex numbers use ComplexNumberSymbol when converting between complex values and strings. This identifies the symbol used to signal the imaginary part of a complex number. By default, this value is 'i'. This allows the custom Variant for complex numbers to interpret or produce strings such as '3.4 + 2i'. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!