BigInteger.Clamp(BigInteger, BigInteger, BigInteger) Méthode

Définition

Limite une valeur à une valeur minimale et maximale inclusive.

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

Paramètres

value
BigInteger

Valeur à serrer.

min
BigInteger

Minimum inclusif auquel value doit se fixer.

max
BigInteger

Maximum inclusif auquel value doit se serrer.

Retours

Résultat de la fixation value à la plage inclusive de min et max.

Implémente

S’applique à