Double.ConvertToInteger<TInteger>(Double) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convertit une valeur en type entier spécifié à l’aide de la saturation sur le dépassement de capacité
public:
generic <typename TInteger>
where TInteger : System::Numerics::IBinaryInteger<TInteger> static TInteger ConvertToInteger(double value) = System::Numerics::IFloatingPoint<double>::ConvertToInteger;
public static TInteger ConvertToInteger<TInteger>(double value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToInteger : double -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Function ConvertToInteger(Of TInteger As IBinaryInteger(Of TInteger)) (value As Double) As TInteger
- TInteger
Type entier vers lequel value
est converti.
- value
- Double
Valeur à convertir.
Instance de TInteger
créée à partir de value
.
Produit | Versions |
---|---|
.NET | 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: