次の方法で共有


Int32.IsNegative(Int32) メソッド

定義

値が負の値かどうかを判断します。

public:
 static bool IsNegative(int value) = System::Numerics::INumberBase<int>::IsNegative;
public static bool IsNegative (int value);
static member IsNegative : int -> bool
Public Shared Function IsNegative (value As Integer) As Boolean

パラメーター

value
Int32

戻り値

Boolean

true 負の値の場合 value は .。 falseそれ以外の場合は .

実装

注釈

戻り値はfalse、それが返trueされることをIsPositive(TSelf)意味するものではありません。 0 b以外の複素数a + biが正または負ではありません

適用対象