NFloat.IsInteger(NFloat) メソッド

定義

値が整数を表すかどうかを判断します。

public:
 static bool IsInteger(System::Runtime::InteropServices::NFloat value) = System::Numerics::INumberBase<System::Runtime::InteropServices::NFloat>::IsInteger;
public static bool IsInteger(System.Runtime.InteropServices.NFloat value);
static member IsInteger : System.Runtime.InteropServices.NFloat -> bool
Public Shared Function IsInteger (value As NFloat) As Boolean

パラメーター

value
NFloat

チェックする値。

返品

true valueが整数の場合は。それ以外の場合はfalse

実装

注釈

このメソッドは浮動小数点値を正しく処理するため、 2.03.0true を返しますが、 2.23.3falseを返します。

適用対象