SQLite SIGN() Function
Definition and Usage
The SIGN() function returns -1 if the number is negative, 0 if it is zero, and 1 if it is positive.
It returns NULL for NULL, and for a text that is not a number.
Syntax
SIGN(number)
Parameter Values
| Parameter | Description |
|---|---|
| number | Required. A number |
Technical Details
| Return type: | Integer |
|---|