BigInteger.INumber<BigInteger>.Sign(BigInteger) 方法

定義

計算值的符號。

 static int System.Numerics.INumber<System.Numerics.BigInteger>.Sign(System::Numerics::BigInteger value) = System::Numerics::INumber<System::Numerics::BigInteger>::Sign;
static int INumber<BigInteger>.Sign (System.Numerics.BigInteger value);
static member System.Numerics.INumber<System.Numerics.BigInteger>.Sign : System.Numerics.BigInteger -> int
 Shared Function Sign (value As BigInteger) As Integer Implements INumber(Of BigInteger).Sign

參數

value
BigInteger

其正負號要計算的值。

傳回

如果 value 為正值, Zero 如果 value 為零,則為負值,如果 value 為負值,則為負值。

實作

適用於