Scott,

This might do it:
<cfset newnum = (oldnum + abs(oldnum))/2>

Should give you either the original or 0.

Steve

----------------------------------------------
steve baty
senior analyst :: strategy & technology
red square :: internet design & development
www.redsquare.com
<ph>+612 8596 4030
<fax>+612 8596 4001
<mob>+61 417 061 292

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Barnes
Sent: Tuesday, 25 February 2003 17:54
To: CFAussie Mailing List
Subject: [cfaussie] Re: Negative to Positive... lets keep the post
positive :D

actually nup

thats not the one.. Barry just told me to wakeup, go back to school  and
that i have used up my "ask the audience" lifeline and now i have to
call a
friend... anyone...

Scott.


"Mark Stanton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> abs()
>
> "Returns the absolute value of a number. The absolute value of a
number is
> the number without its sign."
>
> Is that what you're after?
>
>
> Cheers
>
> Mark
>
>
> ______________
> Mark Stanton
> Web Production
> Gruden Pty Ltd
> Tel: 9956 6388
> Mob: 0410 458 201
> Fax: 9956 8433
> www.gruden.com
>
>
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to