Int64Static: ShiftRight

ShiftRight

Performs a right shift operation on an Int64.



 Public Function ShiftRight(
	  ByRef Value As Int64,
	  ByVal BitCount As Long ) As Int64

Parameters

Value
[ByRef] Int64. The to shift right.
BitCount
[ByVal] Long. The number of bits the value is to be shifted right.

Return Values

Int64 -  Returns a new Int64 containing the shifted value.

Remarks

If BitCount is negative, then a left shift is performed.

See Also

Project CorLib Overview

Class Int64Static Overview

ShiftLeft