sign
Returns the sign of the value; 1 if the value is positive, -1 if the value is negative, or 0 if the value is 0.
Return
The sign of value.
Parameters
value
The value to return the sign of.
Returns the sign of the value; 1 if the value is positive, -1 if the value is negative, or 0 if the value is 0.
The sign of value.
The value to return the sign of.