The BITLSHIFT function is one of the engineering functions. It is used to return a number shifted left by the specified number of bits.
Syntax
BITLSHIFT(number, shift_amount)
The BITLSHIFT function has the following arguments:
Argument | Description |
---|
number | An integer greater than or equal to 0. |
shift_amount | A number of bits by which you want to shift number, an integer. |
Notes
Shifting a number left is equivalent to adding zeros (0) to the right of the binary representation of the number.
How to apply the BITLSHIFT function.
Examples
The figure below displays the result returned by the BITLSHIFT function.
