Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Math.BitwiseShiftRight

Perform bitwise shift right.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Math 4.1 Yes Yes Yes Yes Yes

MBS( "Math.BitwiseShiftRight"; value; steps )

Parameters

Parameter Description Example value
value The number to shift. 2
steps The number of steps to shift. 1

Result

Returns number.

Description

Perform bitwise shift right.
Only for integer numbers.

Updated to use 64-bit signed integers in version 7.3.

Examples

Shifts number. 16 shifted by 2 to right results in 4

MBS( "Math.BitwiseShiftRight"; 16; 2 )

See also

Example Databases


Math.BitwiseShiftLeft   -   Math.BitwiseXOR

Feedback: Report problem or ask question.




Links
MBS Xojo blog