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.0、 は while を2.2trueし、 3.3 は を返しますfalse3.0

適用対象