System.ConvUtils.ConvUnitDiff

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

Delphi

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

C++

extern DELPHI_PACKAGE double __fastcall ConvUnitDiff(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

説明

尺度を別の尺度で減算し,指定された単位を使って結果を返します。

ConvUnitDiff 関数を呼び出すと,2 つの尺度の差を算出できます。その結果は,指定された変換の種類で表現されます。

AValue1 は元の値です。

AType1 は AValue1 の単位です。

AValue2 は,AValue1 から減算する値です。

AType2 は AValue2 の単位です。

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

関連項目