# BitNot()

Performs a bitwise logical NOT operation.

```
BitNot( number=number );
```

**Returns:** number

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| number | number | Yes | an integer |  |

# Examples

The following code example will output an example numbers returned from the bitNot() function.

```cfml
    writeOutput(bitNot(0));
    writeOutput("<br>");
    writeOutput(bitNot(255));
```







# Categories

[Numbers](../../categories/number.md), [Math](../../categories/math.md)

# See Also

[numeric.bitNot()](../objects/numeric/bitnot.md)