Share via


BITNOT Function

Returns a 16-bit binary number in which each bit is set to 1 only if the corresponding bit in binary number is 0. Otherwise, the bit is set to 0.

Syntax

BITNOT(binary number)

Parameters

Name

Required/Optional

Data Type

Description

binary number

Required

Numeric

A 16-bit binary number.

Return Value

16-bit Binary

Example

BITNOT(6)

Returns 65529. The 6 = 0...00110. Therefore, BITNOT(6) = 1...11001.