Can someone explain the concept of + or - zero? Andy
-----Original Message----- From: Ryan Duckworth [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 05, 2005 2:19 PM To: CF-Talk Subject: RE: CF Allows Negative Zero? This function will solve your problem: JavaCast('float',variableName) Ryan Duckworth Macromedia ColdFusion Certified Professional Uhlig Communications 10983 Granada Lane Overland Park, KS 66211 (913) 754-4272 -----Original Message----- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 05, 2005 11:12 AM To: CF-Talk Subject: Re: CF Allows Negative Zero? Can you owe nothing? how about if I give you nothing is that +0? hmmm.. abstract On Wed, 5 Jan 2005 10:44:40 -0600, Dawson, Michael <[EMAIL PROTECTED]> wrote: > If you enter a negative zero (-0), CF keeps it as is and does not strip > the negative sign. > > I would assume that is because CF may think this is a string, however, > it passes the IsNumeric() function. > > Should I just use the val() in my setter when I expect a numeric value > to be passed? > > Thanks > M!ke > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189442 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

