Firebird Documentation Index → Firebird 2.1 Language Ref. Update → Internal functions → SIGN() |
Find a more recent version at Firebird 5.0 Language Reference: SIGN()
Available in: DSQL, PSQL
Added in: 2.1
Description: Returns the sign of the argument: -1, 0 or 1.
Result type: SMALLINT
Syntax:
SIGN (number
)
If the external function
SIGN
is declared in your database, it will override the internal
function. To make the internal function available, DROP or ALTER the external
function (UDF).
Firebird Documentation Index → Firebird 2.1 Language Ref. Update → Internal functions → SIGN() |