Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateInternal functions → SIGN()
Firebird Home Firebird Home Prev: RPAD()Firebird Documentation IndexUp: Internal functionsNext: SIN()

SIGN()

Tip

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)

Important

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).

Prev: RPAD()Firebird Documentation IndexUp: Internal functionsNext: SIN()
Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateInternal functions → SIGN()