Subject Re: ABS function in SQL
Author Ali Gökçen
Hi,

case when mynumber>=0 then mynumber else -mynumber end

Ali

--- In firebird-support@yahoogroups.com, Lorenzo Lamas
<lorenzo_lamas123@...> wrote:
>
> Is there any function like ABS in Firebird that I can use in order
to calculate the absolute value of a number?
>
> I try to use it as ABS and it does not exists.
>
>
> Thanks in advance
>
> Lorenzo
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> Regístrate ya - http://correo.espanol.yahoo.com/
>
> [Non-text portions of this message have been removed]
>