Whatever message this page gives is out now! Go check it out!
BooleanFormat(value)Parameter | Description |
value | A number, boolean value, null, or an empty string. |
<cfscript>
val=0;
str="1123";
writeoutput(BooleanFormat(val)); // returns false
writeoutput(BooleanFormat(str)); // returns true
</cfscript><cfscript>
val=false;
WriteOutput(val.BooleanFormat());
</cfscript>