Braden K
Member since Dec 11, 2008
- Profile: /members/2084-braden-k.htm
- Comments: 1
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 »