RE: CF Allows Negative Zero?

2005-01-05 Thread Venable, John
Negative zero, while being an odd notation, is still a number, as would be -1, -2, -3, etc. I would be frightened if a negative number didn't pass the IsNumeric function. You shouldn't get an error trying to calculate with -0 (with the obvious exception of trying to divide by it)? If you need only

Re: CF Allows Negative Zero?

2005-01-05 Thread Mark Drew
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

RE: CF Allows Negative Zero?

2005-01-05 Thread Ryan Duckworth
: 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

RE: CF Allows Negative Zero?

2005-01-05 Thread Andy Ousterhout
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

Re: CF Allows Negative Zero?

2005-01-05 Thread Sean Corfield
On Wed, 5 Jan 2005 18:12:03 +0100, Mark Drew [EMAIL PROTECTED] wrote: Can you owe nothing? how about if I give you nothing is that +0? Since floating point numbers are represented as a sign bit and a positive mantissa + exponent, -0 is possible and has a different representation to +0. Just a

Re: CF Allows Negative Zero?

2005-01-05 Thread Jochem van Dieten
Andy Ousterhout wrote: Can someone explain the concept of + or - zero? IEEE Standard 754: Floating Point Numbers Jochem ~| Find out how CFTicket can increase your company's customer support efficiency by 100%

Re: CF Allows Negative Zero?

2005-01-05 Thread Ben Doom
: 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

Re: CF Allows Negative Zero?

2005-01-05 Thread Claude Schneegans
Can someone explain the concept of + or - zero? Mathematically, they just don't exist, since negative means less than 0 and positive means greater than 0. So 0 is neither positive nor negative: it is null, period. In computers using a special bit for the sign, things are different. Some

Re: CF Allows Negative Zero?

2005-01-05 Thread Scott Stroz
In a DB, 0 does not equal NULL :-) On Wed, 05 Jan 2005 18:37:24 -0500, Claude Schneegans [EMAIL PROTECTED] wrote: Can someone explain the concept of + or - zero? Mathematically, they just don't exist, since negative means less than 0 and positive means greater than 0. So 0 is neither