Skip to main content

BITLSHIFT function

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:

ArgumentDescription
numberAn integer greater than or equal to 0.
shift_amountA 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.

BITLSHIFT Function