Subject | Re: ABS function in SQL |
---|---|
Author | Ali Gökçen |
Post date | 2006-02-13T10:33:34Z |
Hi,
case when mynumber>=0 then mynumber else -mynumber end
Ali
--- In firebird-support@yahoogroups.com, Lorenzo Lamas
<lorenzo_lamas123@...> wrote:
case when mynumber>=0 then mynumber else -mynumber end
Ali
--- In firebird-support@yahoogroups.com, Lorenzo Lamas
<lorenzo_lamas123@...> wrote:
>to calculate the absolute value of a number?
> Is there any function like ABS in Firebird that I can use in order
>
> 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]
>