Functions
BITAND
Bitwise AND of two integers
Try it
When to use it
When should I use BITAND?
Use BITAND to apply a bitwise AND mask to two integers, for example to test whether a specific bit flag is set in a status value.
Used in
Syntax
BITAND(number1, number2)Examples
=BITAND(10,9) // => 8
=BITAND(14,4) // => 4
=BITAND(12,12) // => 12