[]
This function calculates the bitwise OR of two specified numbers.
BITOR(value1, value2)
This function has these arguments:
Argument | Description |
|---|---|
value1 | [Required] First decimal number greater than or equal to 0 |
value2 | [Required] Second decimal number greater than or equal to 0 |
In this function, if value of any parameter's bits at same position is 1 only then the value of each bit position is counted.
BITOR(22,4) gives the result 22.
BITOR(6,3) gives the result 7.