BitSHRN()
Performs a bitwise shift-right, no-rotation operation.
BitSHRN( number=number, count=number );
Returns: Number
| Argument | Description |
|---|---|
|
number
number,
required
|
edit
an integer |
|
count
number,
required
|
edit
Integer, in the range 0-31, inclusive. Number of bits to shift the number |
Examples
editThe 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 open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)