Math.BitwiseShiftLeft
---------------------

Perform bitwise shift left.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Math](component_Math.md) | [4.1](newinversion41.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Math.BitwiseShiftLeft"; Value; steps ) 

**MBS**( **"Math.BitwiseShiftLeft";** /\* Perform bitwise shift left. \*/  
**$Value**; /\* The number to shift.e.g. 2 \*/   
**$steps**) /\* The number of steps to shift.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The number to shift. | 2 |
| steps | The number of steps to shift. | 1 |

### Result

Returns number.

### Description

Perform bitwise shift left.  
Only for integer numbers.  
  
Updated to use 64-bit signed integers in version 7.3.  
### Examples

Shifts number. 4 shifted by 2 to left results in 16.

 MBS ( "Math.BitwiseShiftLeft"; 16; 2 )  
### See also

- [Math.BitwiseShiftRight](MathBitwiseShiftRight.md)
- [Math.GetBit](MathGetBit.md)

### Release notes

- **Version 7.3**
    - Improved [Math.BitwiseAND](http://www.mbsplugins.eu/MathBitwiseAND.shtml), [Math.BitwiseOR](http://www.mbsplugins.eu/MathBitwiseOR.shtml), [Math.BitwiseNOT](http://www.mbsplugins.eu/MathBitwiseNOT.shtml), [Math.BitwiseXOR](http://www.mbsplugins.eu/MathBitwiseXOR.shtml), [Math.BitwiseShiftRight](http://www.mbsplugins.eu/MathBitwiseShiftRight.shtml) and [Math.BitwiseShiftLeft](http://www.mbsplugins.eu/MathBitwiseShiftLeft.shtml) to use 64-bit integers instead of 32-bit.

### Blog Entries

- [MBS FileMaker Plugin, version 7.3pr7](https://www.mbsplugins.de/archive/2017-07-15/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 4.1pr5](https://www.mbsplugins.de/archive/2014-03-14/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 14th July 2017

  
[Math.BitwiseRotate](MathBitwiseRotate.md) - [Math.BitwiseShiftRight](MathBitwiseShiftRight.md)

[HTML Version](MathBitwiseShiftLeft.shtml)