sign( param )
Parameters
| Type | Description | |
| param | numeric | value to test |
_result
Set to a numeric value that specifies the mathematical sign of param.
| Value | Description |
| -1 | param is less than zero |
| 0 | param is equal to zero |
| 1 | param is greater than zero |
Descriptions
Sets _result to a value that indicates the mathematical sign of param. Since sign is a command it can not be used in an expression and must appear on a line by itself. After calling sign, the _result variable may be used in an expression.
See Also