Previous Topic: MONTH Function--Return the Month Component of a Date

Next Topic: NOW Function--Return Current Time in Seconds

NOTBITS Function--Perform a Bitwise NOT

The NOTBITS function performs a bitwise NOT operation on a number.

Syntax

The NOTBITS function has the following format:

NOTBITS(number)

Parameters

The NOTBITS function accepts the following parameter:

number (number)

Return Value

The NOTBITS function returns a number.

Examples

Return_value=NOTBITS(0)
Return_value=-1

Return_value=NOTBITS(1)
Return_value=-2

More information:

ANDBITS Function--Perform a Bitwise AND Operation

ORBITS Function--Perform a Bitwise OR Operation

XORBITS Function--Perform a Bitwise XOR Operation


Copyright © 2010 CA. All rights reserved. Email CA about this topic