Returns the bitwise logical AND of two arguments
Category: Bitwise Logical Operations
band ( argument-1,argument-2 )
argument-1,argument-2
are numeric, nonnegative, and nonmissing. Separate the arguments with a comma.
Range: 0 to the largest 32-bit unsigned integer
SAS Statements | Results |
---|---|
x=band(0Fx,05x); | |
put x=hex.; | x=00000005; |