# Bitwise Xor

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/functions/numeric-functions/bitwise-xor
>
> BitXor returns the bit by bit logical XOR of two numeric values, for example BitXor(10, 2) returns 8.

This Function returns a _\<numeric>_, which is the result of comparing each bit of **Value 1** to the corresponding bit of **Value 2**, returning 1 if both bits are 1 and 0 otherwise.

Function available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)

### Parameters

* **Value 1** _\<numeric> -_ Value to compare with Value 2
* **Value 2** _\<numeric> -_ Value to compare with Value 1.

### **Examples**

* _Example 1_

BitXor(10, 2)\
**Result** = 8

* _Example 2_

BitXor(901, 881)\
**Result** = 244

* _Example 3_

BitXor(10, 10)\
**Result** = 0
