Partilhar via


IFloatingPoint<TSelf>.ConvertToInteger<TInteger>(TSelf) Método

Definição

Converte um valor em um tipo inteiro especificado usando saturação no estouro

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

O tipo inteiro no qual value é convertido.

Parâmetros

value
TSelf

O valor a ser convertido.

Retornos

TInteger

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

Aplica-se a