Script functions reference > Script functions in alphabetical order > B > BinAnd

BinAnd
Syntax
BinAnd(num_1, num_2)
num_1
num_2
Description
Performs an AND operation on the binary representation of the complement integer values of the two arguments (Int(num_1) and Int(num_2)).
Returns
A number.
Examples
BinAnd(0,1)
Result: 0
BinAnd(2,1)
Result: 0
BinAnd(10,2)
Result: 2
OpenText StreamServe 5.6 Updated: 2013-03-01