System.ConvUtils.ConvUnitAdd

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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);

プロパティ

種類 可視性 ソース ユニット
function public
System.ConvUtils.pas
System.ConvUtils.hpp
System.ConvUtils System.ConvUtils

説明

2 つの尺度を加算し,指定された単位を使って結果を返します。

ConvUnitAdd 関数を呼び出すと,2 つの尺度を加算し,指定された変換の種類で結果を取得できます。

AValue1 と AValue2 は,加算する 2 つの尺度です。

AType1 は AValue1 の単位です。

AType2 は AValue2 の単位です。

AResultType は,算出された値の単位です。

関連項目