Whatever message this page gives is out now! Go check it out!
BitNot(number)
<h3>BitNot Example</h3> <p>Returns the bitwise NOT of a long integer.</p> <p>BitNot(0): <cfoutput>#BitNot(0)#</cfoutput></p> <p>BitNot(255): <cfoutput>#BitNot(255)#</cfoutput></p>
<cfscript> number = 5 ; writeOutput(bitnot(number)) ; //Result is -6 </cfscript>
Share this page
Register for Adobe ColdFusion Summit 2026
Register now
AI TRAINING
Build ColdFusion AI workflows
Learn more