次の方法で共有


Double.ConvertToIntegerNative<TInteger>(Double) メソッド

定義

オーバーフロー時のプラットフォーム固有の動作を使用して、値を指定された整数型に変換します。

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

型パラメーター

TInteger

value の変換先となる整数型。

パラメーター

value
Double

変換する値。

戻り値

TInteger

valueから作成された TInteger のインスタンス。

実装

適用対象