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

定義

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

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

パラメーター

value
UInt128

クランプする値。

min
UInt128

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

max
UInt128

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

戻り値

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

実装

適用対象