BitSHRN

Performs a bitwise shift-right, no-rotation operation.

BitSHRN( number, count )

Returns: Number

Argument Description
number
number, required

an integer

count
number, required

Integer, in the range 0-31, inclusive. Number of bits to shift the number

Examples

The following code example will output an example numbers returned from the bitSHRN() function.

luceescript+trycf writeOutput(bitSHRN(128, 5));

See also