NFloat.ConvertToIntegerNative<TInteger>(NFloat) 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::Runtime::InteropServices::NFloat value) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::ConvertToIntegerNative;
public static TInteger ConvertToIntegerNative<TInteger>(System.Runtime.InteropServices.NFloat value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToIntegerNative : System.Runtime.InteropServices.NFloat -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Function ConvertToIntegerNative(Of TInteger As IBinaryInteger(Of TInteger)) (value As NFloat) As TInteger

Parámetros de tipo

TInteger

Tipo entero al que value se convierte.

Parámetros

value
NFloat

El valor que se va a convertir.

Devoluciones

TInteger

Instancia de creada a partir de TIntegervalue.

Implementaciones

Se aplica a