> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso/documentation/expressions/functions/numeric-functions/bitwise-and.md).

# Bitwise And

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:

<figure><img src="https://1614058754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ5vDGuBZwhJDeu5Rq7Wt%2Fuploads%2Fgit-blob-7a7ab3f3fc74afcaab1e0810f419316203cc49e1%2F01_Supported_OS.png?alt=media" alt="OS Supported: Android, iOS, Win, Win32"><figcaption></figcaption></figure>

### 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
