Returns a value indicating the sign of the specified decimal.
[Edit]
Parameters
- value
- A decimal number whose sign is to be determined.
[Edit]
Returns
A int indicating the sign of value.
Number | Description |
---|
-1 | value <
0. |
0 | value == 0. |
1 | value > 0. |
[Edit]
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0