<< operator

Synopsis
This operator performs a bitwise arithmetic left shift.
Variations
Number << ShiftAmount
Performs a bitwise arithmetic left shift.
Parameters
Number

Specifies a 32-bit integer.

Supported types: Numeric.
ShiftAmount

Specifies the number of bits to shift.

Supported types: Numeric.
Returns
Returned types: Numeric.
Examples
1.

This example performs 2 left shifts and returns 12.

3<<2
2.

This example performs 2 left shifts and returns 12. Note decimals are ignored (not rounded off) in bitwise shifts.

3.9<<2.9