Hmmm.. That does seem to be the case :)
It's strange how the obvious is hidden until its posted online.
Thanks....

Regards,
Dave Bosky
Sr. Multimedia Web Designer
Horry Telephone Cooperative, Inc. 
office: (843)369-8613
[EMAIL PROTECTED]


-----Original Message-----
From: Nick Han [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 1:39 PM
To: CF-Talk
Subject: Re: compare negitive numbers


Think you got your logic backward.


-0.25 is less than -0.01 ( your min)
-0.25 is greater than -1.00 ( your max)

Nick Han

>>> "<"Bosky 02/13/03 09:57AM >>>
What's the best way to check if negitive numbers fall in a specific range?
I've tried the following but it doesn't return correctly. Is there something
I'm missing?

<CFSET Minimum =  "-0.01">
<CFSET Maximum =  "-1.00">
<CFSET Power = "-0.25">
<CFIF (Power GTE Minimum) AND (Power LTE Maximum)>
        OK
</CFIF>

Regards,
Dave Bosky
Sr. Multimedia Web Designer
Horry Telephone Cooperative, Inc. 
office: (843)369-8613
[EMAIL PROTECTED] 



HTC Disclaimer:  The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer.  Thank you.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to