> -----Original Message----- > From: Fred Anderson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2008 5:31 PM > To: CF-Talk > Subject: Re: CF thinks 0F is boolean. > > A more simplified example would be: > <cfoutput> > #isBoolean("0F ")# > </cfoutput> > Additionally '0D' has the same effect.
I think you may find that 0D and 0E have the same effect - I'm guessing, but I think CF is treating the letters as part of a number in scientific notation. 0E isn't really "useful", but it IS zero in scientific notation. ;^) And in CF a zero is an acceptable Boolean. You should be able to test this by doing <cfif "0F" EQ 0> Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307206 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4