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


|  |  |  |  |
| --- | --- | --- | --- |
| **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

| 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)