- Found in:
- SKSE
Description
Wiki Description
Shifts value right by n number of bits.
Parameters
intvalue
CK Wiki Description
The integer that you wish to shift.
intshiftBy
CK Wiki Description
How many bits to shift to the right.
Examples
int iA = Math.RightShift(2146, 2) ;iA == 536
int iC = Math.RightShift(0x00802000, 9) ;iC == 16400Auto-Generated Example
int myInt__value
int myInt__shiftBy
int returnedValue = Math.RightShift(myInt__value, myInt__shiftBy)