BigInteger.IsNegative(BigInteger) 方法

定義

判斷值是否為負值。

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

參數

value
BigInteger

要檢查的值。

傳回

true 如果 value 為負數,則為 ,否則為 false

實作

備註

false 回值不表示會傳 IsPositive(TSelf)true。 非零 b的複數a + bi不是正數或負數

適用於