Returns number bitwise shifted without rotation to the right by count bits.
See also BitSHLN.
BitSHRN(number, count)
Long integer to be shifted to the right.
Integer specifying number of bits the number should be shifted.
Parameter count must be in the range from 0 to 31.
Bit functions operate on 32-bit integers.
<!--- This example shows BitSHRN ---> <HTML> <HEAD> <TITLE>BitSHRN Example</TITLE> </HEAD> <BODY> <H3>BitSHRN Example</H3> Returns the number bitwise shifted without rotation to the right by count bits. <P>BitSHRN(1,1): <CFOUTPUT>#BitSHRN(1,1)#</CFOUTPUT> <P>BitSHRN(255,7): <CFOUTPUT>#BitSHRN(255,7)#</CFOUTPUT> <P>BitSHRN(-2147483548,1): <CFOUTPUT>#BitSHRN(-2147483548,1)#</CFOUTPUT> </BODY> </HTML>