Decimal32.Clamp(Decimal32, Decimal32, Decimal32) Method

Definition

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

Parameters

value
Decimal32
min
Decimal32
max
Decimal32

Returns

Implements

Applies to