Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: can I change a negative number to a positive?

Re: can I change a negative number to a positive?

From: Andy Hassall <andy_at_andyh.co.uk>
Date: Wed, 14 Sep 2005 21:49:50 +0100
Message-ID: <f43hi19kebu772l9pu9iko09duqh2qlauh@4ax.com>


On 14 Sep 2005 12:37:20 -0700, "myk" <mykalc_at_gmail.com> wrote:

>I thought I did this once - changing a negative interger into a
>positive and vice-versa.

http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/fundamentals.htm#sthref461

 "negation" operator. Usually called "unary minus" in most languages.

 variable := -variable;

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Received on Wed Sep 14 2005 - 15:49:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US