Sgn function (LotusScript® Language)
Identifies the sign (positive or negative) of a number.
Syntax
Sgn ( numExpr )
Elements
numExpr
Any numeric expression.
Return value
The following table shows the values that the Sgn function returns.
Sign of numExpr |
Value |
---|---|
Negative |
-1 |
Zero |
0 |
Positive |
1 |