BitSHRN()
Performs a bitwise shift-right, no-rotation operation.
BitSHRN( number=number, count=number );
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.
writeOutput(bitSHRN(128, 5));
See also
- Numbers
- Math
- numeric.bitSHRN()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)