# BitXor()

Performs a bitwise logical XOR operation.

```
BitXor( number1=number, number2=number );
```

**Returns:** number

# Arguments

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

# Examples

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

```cfml
    writeOutput(bitXor(128, 5));
```







# Categories

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

# See Also

[numeric.bitXor()](../objects/numeric/bitxor.md)