Math.BitwiseNOT
---------------

Perform bitwise not operation.

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

MBS( "Math.BitwiseNOT"; Value ) 

**MBS**( **"Math.BitwiseNOT";** /\* Perform bitwise not operation. \*/  
**$Value**) /\* The number to use.e.g. 255 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The number to use. | 255 |

### Result

Returns number.

### Description

Perform bitwise not operation.  
Only for integer number.  
  
Updated to use 64-bit signed integers in version 7.3.  
### Examples

Calculates Bitwise NOT of 255:

 MBS ( "Math.BitwiseNOT"; 255 )  
### See also

- [Math.BitwiseAND](MathBitwiseAND.md)
- [Math.BitwiseOR](MathBitwiseOR.md)
- [Math.BitwiseXOR](MathBitwiseXOR.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.BitwiseAND](MathBitwiseAND.md) - [Math.BitwiseOR](MathBitwiseOR.md)

[HTML Version](MathBitwiseNOT.shtml)