All Commands
All Math & Logic
Commands
SIGN
This will return the sign of a value.
The returned value will be one of -1, 0 or 1 depending on the input.
| Number | Name | Default | Type | Description |
|---|---|---|---|---|
| 1 | expression | 0 | Expression | The value or expression to be evaluated |
Example
-1
0
1
0
1