# Bitwise And

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

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_

BitAnd(10, 2)\
**Result** = 2

* _Example 2_

BitAnd(901, 881)\
**Result** = 769
