語言

Double.IsNegative(Double) 方法

定義

判斷指定值是否為負值。

public:
 static bool IsNegative(double d) = System::Numerics::INumberBase<double>::IsNegative;
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

一個雙精度浮點數。

傳回

true 若值為負; false 否則,

實作

適用於