The BITOR function is one of the engineering functions. It is used to return a bitwise 'OR' of two numbers.
Syntax
BITOR(number1, number2)
The BITOR function has the following arguments:
Argument | Description |
---|
number1 | A numeric value in decimal form greater than or equal to 0. |
number2 | A numeric value in decimal form greater than or equal to 0. |
Notes
The value of each bit position is counted if either of the parameters has 1 at that position.
How to apply the BITOR function.
Examples
The figure below displays the result returned by the BITOR function.
