BIT_SHIFT_RIGHT
|
Syntax: |
BIT_SHIFT_RIGHT(<Number>,<Bits>)
|
||||
|
Meaning: |
Returns the value which results from the
right shift of <Number> by <Bits> bits. This is adequate with a division by 2<Bits>. <Bits> must be > 0 otherwise BIT_SHIFT_RIGHT
returns -1. |
||||
|
Parameter: |
|
||||
|
Sample: |
BIT_SHIFT_RIGHT(89,2)
returns 22 |
||||
|
See also: |
|