static public method MeasurementMath.Sign

Brief

Returns sign of the value

Declaration
C#
int  Sign<T> (this Measurement<T> value)

Parameters
T
value

Details

The method return -1 for negative values, 0 for zero value and 1 for positive values

Declared in MeasurementMath

back