# BITAND

## Content

This function calculates bitwise AND of the two specified values.

## Syntax

`BITAND(value1, value2)`

## Arguments

<span data-teams="true">This function has these arguments:</span>

| <span data-teams="true">Argument</span> | <span data-teams="true">Description</span> |
| -------- | ----------- |
| <span data-teams="true"> </span>*<span data-teams="true">value1</span>* | <span data-teams="true"> [Required] First decimal number greater than or equal to 0</span> |
| <span data-teams="true"> </span>*<span data-teams="true">value1</span>* | <span data-teams="true"> [Required] Second decimal number greater than or equal to 0</span> |

## Remarks

In this function, If the bits of both parameters at the same position are 1, then that bit position is counted.

## Examples

`BITAND(3,6)` gives the result 2.
`BITAND(4,5)` gives the result 4.