BigInteger.Sign Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a number that indicates the sign (negative, positive, or zero) of the current BigInteger object.
public:
property int Sign { int get(); };
public int Sign { get; }
member this.Sign : int
Public ReadOnly Property Sign As Integer
Property Value
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. |
Remarks
The Sign property is equivalent to the Math.Sign method for the primitive numeric types.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για