Double.ConvertToIntegerNative<TInteger>(Double) Méthode
Définition
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 d’un comportement spécifique à la plateforme sur le dépassement de capacité.
public:
generic <typename TInteger>
where TInteger : System::Numerics::IBinaryInteger<TInteger> static TInteger ConvertToIntegerNative(double value) = System::Numerics::IFloatingPoint<double>::ConvertToIntegerNative;
public static TInteger ConvertToIntegerNative<TInteger>(double value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToIntegerNative : double -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Function ConvertToIntegerNative(Of TInteger As IBinaryInteger(Of TInteger)) (value As Double) As TInteger
Paramètres de type
- TInteger
Type entier vers lequel value est converti.
Paramètres
- value
- Double
Valeur à convertir.
Retours
Instance de TInteger créée à partir de value.