BITOR (Number1, Number2) BITOR (Number1; Number2)
Number1
Number Number
The first number.
Number2
Number Number
The second number.
Returns
Number Number
The result of the bitwise operation.
Performs a bitwise OR operation on two numbers. A binary digit of the result is 1 if the binary digit in the same position of either number is 1, and 0 otherwise.
Both numbers must be non-negative integers less than 2 raised to the power of 48. Other numbers result in an error.
Examples
Returns "00011011".
BITOR (19, 24)
BITOR (19; 24)
Returns 27. This example is equivalent to the preceding example, but does not convert the decimal numbers to binary to ease readability.