Double.ConvertToInteger<TInteger>(Double) Método

Definición

Convierte un valor en un tipo entero especificado mediante saturación en desbordamiento.

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

Parámetros de tipo

TInteger

Tipo entero al que value se convierte.

Parámetros

value
Double

El valor que se va a convertir.

Devoluciones

TInteger

Instancia de creada a partir de TIntegervalue.

Implementaciones

Se aplica a