RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarCmplx.VarComplexAbs Function

Returns the absolute value of a complex number.

Pascal
function VarComplexAbs(const AValue: Variant): Double;
C++
Double VarComplexAbs(const Variant AValue);

Use VarComplexAbs to take the absolute value (length) of a complex number. 

AValue is a Variant whose value represents the complex number. 

VarComplexAbs returns the absolute value of AValue. 

 

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