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)

 

See Also

BitOrReturns the bitwise OR of two numbers.