---
title: "bitwise_not"
canonical: "https://support.appfire.com/space/PSCONF/15303739/bitwise_not"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | bitwise_not(int1) | **Package** | bitwise |
> | **Alias** |  | **Pkg Usage** | b_not(int1) |

## Description

> Macro (excerpt)
> 
> Takes one number and inverts all bits of it.

Takes one number and inverts all bits of it.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | int1 | Integer | Yes | Number to be inverted. |

## Return Type

**Integer**

The result of the bitwise operation (complement).

## Example

```javascript
use "bitwise";
int result = b_not(int1);
//------------or-----
//no package needed
int result = bitwise_not(int1);
```

## See also

> Macro (contentbylabel)