Mono Class Library: System.Math Overview | MembersSystem.Math.Sign Method |
Returns a value indicating the sign of the specified sbyte . [Edit]
|
A int indicating the sign of value.
[Edit]
Number Description -1 value < 0. 0 value == 0. 1 value > 0.
This method is not CLS-compliant. For a CLS-compliant alternative, use Math.Sign(sbyte)(short). [Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0