Int128.Clamp(Int128, Int128, Int128) メソッド

定義

値を包括的な最小値と最大値にクランプします。

public:
 static Int128 Clamp(Int128 value, Int128 min, Int128 max) = System::Numerics::INumber<Int128>::Clamp;
public static Int128 Clamp (Int128 value, Int128 min, Int128 max);
static member Clamp : Int128 * Int128 * Int128 -> Int128
Public Shared Function Clamp (value As Int128, min As Int128, max As Int128) As Int128

パラメーター

value
Int128

クランプする値。

min
Int128

クランプする必要がある value 最小を含む 。

max
Int128

クランプする必要がある包括的な value 最大値。

戻り値

maxの包括的なvalue範囲にクランプしたmin結果。

実装

適用対象