sign

<< sdow | FB 2.5 Language Reference | sin >>
<< sdow | FB 2.1 Language Reference | sin >>

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'

back to top of page
<< sdow | FB 2.5 Language Reference | sin >>
<< sdow | FB 2.1 Language Reference | sin >>