BITAND

Syntax

BITAND(</wiki/spaces/DAS60/pages/4620163738>;</wiki/spaces/DAS60/pages/4620163738>; ...)

Description

Bitwise AND operation on given integer arguments. The function converts the integers to binary and returns 1 in each bit position where all input arguments have a one in the corresponding position and zero in all others.

This function supports more than 255 arguments.

Examples

Column1Column2Column3BITAND() returns
Example 1
2362
(0010)(0011)(0110)= 0010
Example 2
48120
(0100)(1000)(1100)= 0000
Example 3
2381095
(0010111)(0111101)(1101101)= 0000101