static public method MeasurementMath.Sign
Returns sign of the value
int
Sign<T> (this DecimalMeasurement<T> value)
T
value
The method return -1 for negative values, 0 for zero value and 1 for positive values
-1
0
1
Declared in MeasurementMath