System.ConvUtils.ConvUnitAdd

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function ConvUnitAdd(const AValue1: Double; const AType1: TConvType; const AValue2: Double; const AType2, AResultType: TConvType): Double;

C++

extern DELPHI_PACKAGE double __fastcall ConvUnitAdd(const double AValue1, const TConvType AType1, const double AValue2, const TConvType AType2, const TConvType AResultType);

Properties

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

Description

Adds two measurements and returns the result using a specified unit of measurement.

Call ConvUnitAdd two add two measurements and obtain the result in a specified conversion type.

AValue1 and AValue2 are the two measurements to be added.

AType1 is the unit of measurement for AValue1.

AType2 is the unit of measurement for AValue2.

AResultType is the unit of measurement for the resulting value.

See Also