IFloatingPoint<TSelf>.ConvertToInteger<TInteger>(TSelf) 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 override TInteger ConvertToInteger(TSelf value);
public static virtual TInteger ConvertToInteger<TInteger> (TSelf value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToInteger : 'Self -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Overrides Function ConvertToInteger(Of TInteger As IBinaryInteger(Of TInteger)) (value As TSelf) As TInteger

Parámetros de tipo

TInteger

Tipo entero al que se convierte value.

Parámetros

value
TSelf

Valor que se va a convertir.

Devoluciones

TInteger

Instancia de TInteger creada a partir de value.

Se aplica a