Please enable JavaScript to view this site.

The bit pattern of the value will be shifted right the number of bits specified: bits vacated by the shift operation are zero-filled.

Syntax

shr(int value, int count): int

value

Source value

count

Number of bits

Result

Return the calculated value

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC