Could any one tell me how to get the absolute value from Oracle whatever it is negative or positive?
Thanks.
Printable View
Could any one tell me how to get the absolute value from Oracle whatever it is negative or positive?
Thanks.
select abs(-1) from dual;
--
declare
n number;
begin
n := abs(-1);
end;
good luck.
Thanks, I got it.