System.ConvUtils.ConvUnitWithinPrevious

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

Delphi

function ConvUnitWithinPrevious(const AValue, ATest: Double; const AType: TConvType; const AAmount: Double; const AAmountType: TConvType): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall ConvUnitWithinPrevious(const double AValue, const double ATest, const TConvType AType, const double AAmount, const TConvType AAmountType);

プロパティ

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

説明

指定された尺度が指定された範囲内で別の尺度を下回っているかどうかを示します。

ConvUnitWithinPrevious 関数を呼び出すと,ATest で指定された値が AAmount の範囲内で AValue で指定された値を下回っているかどうかを確認できます。

AValue は,ATest を調べる基準となる値です。

ATest は,AValue を基準にテストする尺度です。

AType は,AValue と ATest 両方の単位です。

AAmount は,ATest が AValue を下回ることができる量です。

AAmountType は,AAmount の単位です。

ConvUnitWithinPrevious は,ATest と AValue が等しいか,ATest が AAmount の範囲内で AValue を下回っている場合に true を返します。

関連項目