SIGN()
From Recital Documentation Wiki
Revision as of 16:28, 7 December 2009 by Helengeorge (Talk | contribs)
Purpose
Function to determine the sign of a numeric value
Syntax
SIGN(<expN>)
See Also
Description
The SIGN() function is used to determine the sign of a numeric value. The SIGN() function will return the following values:
<expN> Value | Return Value |
---|---|
Positive | 1 |
Negative | -1 |
Zero | 0 |
Example
? sign(9876.78) 1 ? sign(-87.9) -1 ? sign(0) 0
Products
Recital, Recital Server