BigInteger.Sign Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets a number that indicates the sign (negative, positive, or zero) of the current BigInteger object.
Namespace: System.Numerics
Assembly: System.Numerics (in System.Numerics.dll)
Syntax
'Declaration
Public ReadOnly Property Sign As Integer
public int Sign { get; }
Property Value
Type: System.Int32
A number that indicates the sign of the BigInteger object, as shown in the following table.
Number |
Description |
---|---|
-1 |
The value of this object is negative. |
0 |
The value of this object is 0 (zero). |
1 |
The value of this object is positive. |
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.