• Home
  • BITLSHIFT Function

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

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags