BitAnd function

Returns the bitwise AND of the two long arguments.

Namespace

logical

Input

number1(long), number2(long)

Output

long

Example

If a contains the number 352 and b contains the number 400, then the following two functions are equivalent, and return the value 256:

set-column val logical:BitAnd(352, 400) set-column val logical:BitAnd(a,b)

 

Created in 2020 by Google Inc.