System.ConvUtils.ConvUnitSameValue

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

Delphi

function ConvUnitSameValue(const AValue1: Double; const AType1: TConvType; const AValue2: Double; const AType2: TConvType): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall ConvUnitSameValue(const double AValue1, const TConvType AType1, const double AValue2, const TConvType AType2);

プロパティ

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

説明

2 つの尺度が等しいかどうかを示します。

ConvUnitSameValue 関数を呼び出すと,2 つの尺度が等しいかどうかを判別できます。2 つの値は単位が別々でもかまいませんが,それらの単位は同じ変換ファミリーに属していなければなりません。

AValue1 と AValue2 は,比較する 2 つの尺度です。

AType1 は AValue1 の単位です。

AType2 は AValue2 の単位です。

ConvUnitSameValue は,2 つの尺度が等しい場合には true を返し,それ以外の場合は false を返します。

関連項目