Firebird Documentation Index → Firebird 2.1 Language Ref. Update → External functions (UDFs) → sign |
Library: ib_udf
Added in: IB
Better alternative: Internal function SIGN()
Description: Returns the sign of the argument: -1, 0 or 1.
Result type: INTEGER
Syntax:
sign (number
)
Declaration:
DECLARE EXTERNAL FUNCTION sign DOUBLE PRECISION RETURNS INTEGER BY VALUE ENTRY_POINT 'IB_UDF_sign' MODULE_NAME 'ib_udf'
Firebird Documentation Index → Firebird 2.1 Language Ref. Update → External functions (UDFs) → sign |