語言

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 為正值時 Zerovalue ,若為零,則為負值 value 。

實作

適用於