Lucee Function Reference

bitshrn()

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

Example

bitshrn(number number,number count):number

Category

number,math

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
number number  Yes an integer  
count number  Yes Integer, in the range 0-31, inclusive. Number of bits to shift the number