u can do a <CFIF number GT 0 or number LT 0>
or, do a multiplication with a number like 5. if the result is 0, then
that number is a zero. if the result is a negative number, then that number
is negative.
there's lots of ways :)
>From: "Joshua Tipton" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: negative numbers
>Date: Fri, 31 Aug 2001 18:07:29 -0400
>
>I want to check to see if this value is a 0 or a negative number. How
>would
>I do this?
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists