BitNot

Description

Returns the bitwise NOT of a long integer.

Category

Mathematical functions

Syntax


BitNot(number) 

See also

BitAnd, BitOr, BitXor

Parameters

Parameter
Description
number
32-bit signed integer

Usage

Bit functions operate on 32-bit signed integers, in the range -2147483648 to 2147483647.

Example

<!--- This example shows BitNot --->

<html>

<head>

<title>BitNot Example</title>

</head>



<body>

<H3>BitNot Example</H3>



Returns the bitwise NOT of a long integer.



<P>BitNot(0): <cfoutput>#BitNot(0)#</cfoutput>

<P>BitNot(255): <cfoutput>#BitNot(255)#</cfoutput>



</body>

</html>    



Banner.Novgorod.Ru