Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateExternal functions (UDFs) → abs
Firebird Home Firebird Home Prev: External functions (UDFs)Firebird Documentation IndexUp: External functions (UDFs)Next: acos

abs

Library: ib_udf

Added in: IB

Better alternative: Internal function ABS()

Description: Returns the absolute value of the argument.

Result type: DOUBLE PRECISION

Syntax: 

abs (number)

Declaration: 

DECLARE EXTERNAL FUNCTION abs
   DOUBLE PRECISION
   RETURNS DOUBLE PRECISION BY VALUE
   ENTRY_POINT 'IB_UDF_abs' MODULE_NAME 'ib_udf'
Prev: External functions (UDFs)Firebird Documentation IndexUp: External functions (UDFs)Next: acos
Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateExternal functions (UDFs) → abs