System.ConvUtils.ConvUnitInc

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function ConvUnitInc(const AValue: Double; const AType, AAmountType: TConvType): Double;
function ConvUnitInc(const AValue: Double; const AType: TConvType; const AAmount: Double; const AAmountType: TConvType): Double;

C++

extern DELPHI_PACKAGE double __fastcall ConvUnitInc(const double AValue, const TConvType AType, const TConvType AAmountType)/* overload */;

Properties

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

Description

Increments a specified measurement by a specified amount.

Call ConvUnitInc to increment a measurement by a specified amount. The result is returned in the same measurement units as the original amount, although the amount by which the measurement is incremented can be expressed using a different unit of measurement in the same family.

AValue is the original measurement.

AType is the unit of measurement of the starting amount and the return value.

AAmount is the amount by which to increase AValue. If this parameter is omitted, it is assumed to be one.

AAmountType is the unit of measurement for AAmount.

See Also