LOTUSSCRIPT LANGUAGE


Sgn function
Example

Identifies the sign (positive or negative) of a number.

Syntax

Sgn ( numExpr )

Elements

numExpr


Return value

The following table shows the values that the Sgn function returns.

Sign of numExprValue
Negative-1
Zero 0
Positive 1

Language cross-reference

@Sign function in formula language

Example
See Also