Subject | RE: [firebird-support] ABS function in SQL |
---|---|
Author | Si Carter |
Post date | 2006-02-13T10:37:51Z |
> -----Original Message-----Yes, its in ib_udf, which is part of standard install.
> Is there any function like ABS in Firebird that I can use in
> order to calculate the absolute value of a number?
>Have you declared the UDF within your database?
> I try to use it as ABS and it does not exists.
DECLARE EXTERNAL FUNCTION abs
DOUBLE PRECISION
RETURNS DOUBLE PRECISION BY VALUE
ENTRY_POINT 'IB_UDF_abs' MODULE_NAME 'ib_udf';
Rgds
Si Carter
http://www.fbtalk.net/ - Web Based Firebird Forum
http://sourceforge.net/projects/fbutils - FBUtils
http://sourceforge.net/projects/dnfBB - Web based, Firebird Powered Forum