Returns the bitwise AND of two long integers.
BitAnd(number1, number2)
Parameter |
Description |
---|---|
number1, number2 |
A 32-bit signed integer |
Bit functions operate on 32-bit signed integers, in the range -2147483648 to 2147483647.
<!--- This example shows BitAnd ---> <html> <head> <title>BitAnd Example</title> </head> <body> <H3>BitAnd Example</H3> <P>Returns the bitwise AND of two long integers. <P>BitAnd(5,255): <cfoutput>#BitAnd(5,255)#</cfoutput> <P>BitAnd(5,0): <cfoutput>#BitAnd(5,0)#</cfoutput> <P>BitAnd(128,128): <cfoutput>#BitAnd(128,128)#</cfoutput> </body> </html>