System.VarCmplx.VarComplexAbs

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarComplexAbs(const AValue: Variant): Double;

C++

extern DELPHI_PACKAGE double __fastcall VarComplexAbs(const System::Variant &AValue);

Properties

Type Visibility Source Unit Parent
function public
System.VarCmplx.pas
System.VarCmplx.hpp
System.VarCmplx System.VarCmplx

Description

Returns the absolute value of a complex number.

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.

See Also