Sign
From InterBase
Go Up to The InterBase UDF Library
Returns 1, 0, or -1 depending on whether the input value is positive, zero or negative, respectively.
DECLARE EXTERNAL FUNCTION SIGN DOUBLE PRECISION RETURNS INTEGER BY VALUE ENTRY_POINT 'IB_UDF_sign' MODULE_NAME 'ib_udf';