meta data for this page
  •  

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'