Double.IsNegative(Double) Double.IsNegative(Double) Double.IsNegative(Double) Double.IsNegative(Double) Method

定義

指定した値が負かどうかを判断します。Determines whether the specified value is negative.

public:
 static bool IsNegative(double d);
public static bool IsNegative (double d);
static member IsNegative : double -> bool
Public Shared Function IsNegative (d As Double) As Boolean

パラメーター

d
Double Double Double Double

倍精度浮動小数点数。A double-precision floating-point number.

戻り値

値が負の場合は true。それ以外の場合は falsetrue if the value is negative; false otherwise.

適用対象