Sdílet prostřednictvím


NFloat.ConvertToIntegerNative<TInteger>(NFloat) Metoda

Definice

Převede hodnotu na zadaný celočíselnou typ pomocí chování specifického pro platformu při přetečení.

public:
generic <typename TInteger>
 where TInteger : System::Numerics::IBinaryInteger<TInteger> static TInteger ConvertToIntegerNative(System::Runtime::InteropServices::NFloat value) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::ConvertToIntegerNative;
public static TInteger ConvertToIntegerNative<TInteger> (System.Runtime.InteropServices.NFloat value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToIntegerNative : System.Runtime.InteropServices.NFloat -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Function ConvertToIntegerNative(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