Skip to main content

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 numExprValue
Negative-1
Zero0
Positive1

Example