# Sign - script and chart function

Sign() returns 1, 0 or -1 depending on whether x is a positive number, 0, or a negative number.

Syntax:

Sign(x)

Return data type: numeric

Limitations:

If no numeric value is found, NULL is returned.

Examples and results:

Examples and results

| Examples | Results |
| --- | --- |
| `Sign( 66<br>)` | Returns 1 |
| `Sign( 0<br>)` | Returns 0 |
| `Sign( -<br>234 )` | Returns -1 |