not()

Read(472) Label: integer, bitwise not,

Description:

On integers, perform bitwise NOT operation to get the logical negation on each bit.

Syntax:

not(x)

Note:

The function performs bitwise NOT operation to get the logical negation on each bit of an integer. It supports a decimal without the fractional part.

Parameters:

x

The numeric expression for which you want to find the logical negation on each bit

Return value:

An integer

Example:

not(6)

-7

not(decimal(6))

-7, which is decimal type