> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# BitAnd

Returns the bitwise AND of two numbers.

## Usage

`BitAnd(number1, number2)`

**number1** \[required] A decimal number greater than or equal to 0.

**number2** \[required] A decimal number greater than or equal to 0.

## Example

(1) Returns 0.

`BitAnd(2, 4)`

(2) Returns 4.

`BitAnd(12, 23)`

## Related resources

* [BitOr](/docs/bitor)