• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

YesNoFormat

Synopsis

                  YesNoFormat(value)

Returns all nonzero values as Yes and zero values as No. Also returns a Boolean true as Yes and a Boolean false as No.

<cfoutput>
-1: #YesNoFormat(-1)#<br>
-1.123: #YesNoFormat(-1.123)#<br>
-0.123: #YesNoFormat(-0.123)#<br>
0: #YesNoFormat(0)#<br>
0.123: #YesNoFormat(0.123)#<br>
1: #YesNoFormat(1)#<br>
1.123: #YesNoFormat(1.123)#<br>
true: #YesNoFormat(true)#<br>
false: #YesNoFormat(false)#
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint