BigNumber.Sign Method
Definition
Namespace: Corvus.Numerics
Assembly: Corvus.Text.Json.dll
Source: BigNumber.cs
Sign(BigNumber)
Returns the sign of the number.
public static int Sign(BigNumber value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigNumber |
The value. |
Returns
-1 for negative, 0 for zero, 1 for positive.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue