語言

Int64.IsNegative(Int64) 方法

定義

判斷值是否為負值。

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

參數

value
Int64

要檢查的值。

傳回

true 若為 value 負;否則,為 false。

實作

備註

返回值 false 不代表會 IsPositive(TSelf) 返回 true。 複數 a + bi ,對於非零 b,既非正也非負數

適用於