Partilhar via


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

Definição

Converte um valor em um tipo inteiro especificado usando o comportamento específico da plataforma no estouro.

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

Parâmetros de tipo

TInteger

O tipo inteiro no qual value é convertido.

Parâmetros

value
Single

O valor a ser convertido.

Retornos

TInteger

Uma instância de TInteger criada a partir de value.

Implementações

Aplica-se a