Syntax
=BITOR(number1, number2)Arguments
| Argument | Required | Description |
|---|---|---|
number1 | Required | A whole number from 0 up to 2^48 |
number2 | Required | A whole number from 0 up to 2^48 |
How to use BITOR
BITOR takes 2 required arguments. Type =BITOR( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=BITOR(23, 10)Result Related engineering functions
- BIN2HEXConverts a binary number to hexadecimal.
- BIN2OCTConverts a binary number to octal.
- BITANDReturns the bitwise AND of two numbers.
- BITLSHIFTReturns a number shifted left by a number of bits (multiplied by a power of 2).
- BITRSHIFTReturns a number shifted right by a number of bits (divided by a power of 2, rounded down).
- BITXORReturns the bitwise exclusive OR of two numbers.
- COMPLEXBuilds a complex number as text from its real and imaginary parts.
- CONVERTConverts a number from one measurement unit to another, like feet to meters or Fahrenheit to Celsius.
- DEC2BINConverts a decimal number to binary.