Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Braden K

Member since Dec 11, 2008

Recent Blog Comments By Braden K

  • ColdFusion Boolean Evaluation And #( 3 + "Yes" )# = 4

    Posted on Jul 11, 2008 at 11:59 AM

    Non zero numbers (including negative) equate to True. Null strings, or in CF certain strings like "No" or "False" will return False. #( 3 + "Yes" )# = 4, but also #YesNoFormat(4)# = Yes. It can be very useful for example if you take a string input and only want to do some action if some value was e... read more »