bitNot
Description
Performs a bitwise logical NOT operation.
Categories
Related
Syntax
BitNot(number)
Attributes
| Attribute | Description | Required | Default |
|---|---|---|---|
| number | 32-bit signed integer |
Returns
A number;
the bitwise NOT of a long integer.
Usage
Bit functions operate on 32-bit signed integers, in the range -2147483648 – 2147483647.
Example
<h3>BitNot Example</h3> Returns the bitwise NOT of a long integer.</p> BitNot(0): <cfoutput>#BitNot(0)#</cfoutput></p> BitNot(255): <cfoutput>#BitNot(255)#</cfoutput></p>