Sdílet prostřednictvím


NFloat.ConvertToInteger<TInteger>(NFloat) Metoda

Definice

Převede hodnotu na zadaný celočíselnou typ pomocí sytosti při přetečení.

public:
generic <typename TInteger>
 where TInteger : System::Numerics::IBinaryInteger<TInteger> static TInteger ConvertToInteger(System::Runtime::InteropServices::NFloat value) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::ConvertToInteger;
public static TInteger ConvertToInteger<TInteger> (System.Runtime.InteropServices.NFloat value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToInteger : System.Runtime.InteropServices.NFloat -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Function ConvertToInteger(Of TInteger As IBinaryInteger(Of TInteger)) (value As NFloat) As TInteger

Parametry typu

TInteger

Celočíselné typy, na které se value převede.

Parametry

value
NFloat

Hodnota, která se má převést.

Návraty

TInteger

Instance TInteger vytvořená z value.

Implementuje

Platí pro