BITRSHIFT( ) Function

Example   See Also

Returns the result of shifting the bits of a numeric value to the right a specified number of positions.

Syntax

BITRSHIFT(nExpression1, nExpression2)

Returns

Numeric

Arguments

nExpression1

Specifies the numeric value whose bits are shifted to the right. If nExpression1 is not an integer, it is converted to an integer before its bits are shifted.

nExpression2

Specifies the number of bit positions to shift. If nExpression2 is not an integer, it is converted to an integer.