Decimal.ConvertToIntegerNative<TInteger>(Decimal) Método

Definición

Convierte un valor en un tipo entero especificado mediante el comportamiento específico de la plataforma en el desbordamiento.

public:
generic <typename TInteger>
 where TInteger : System::Numerics::IBinaryInteger<TInteger> static TInteger ConvertToIntegerNative(System::Decimal value) = System::Numerics::IFloatingPoint<System::Decimal>::ConvertToIntegerNative;
public static TInteger ConvertToIntegerNative<TInteger>(decimal value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToIntegerNative : decimal -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Function ConvertToIntegerNative(Of TInteger As IBinaryInteger(Of TInteger)) (value As Decimal) As TInteger

Parámetros de tipo

TInteger

Tipo entero al que value se convierte.

Parámetros

value
Decimal

El valor que se va a convertir.

Devoluciones

TInteger

Instancia de creada a partir de TIntegervalue.

Implementaciones

Se aplica a