Difference between revisions of "Bit.band"
From GiderosMobile
Line 13: | Line 13: | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (number) <translate>bitwise and</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>bitwise and</translate><br/> | ||
+ | |||
+ | {{Bit}} |
Revision as of 06:05, 4 December 2019
Available since: Gideros 2013.09
Class: bit
Description
Returns the bitwise and of its argument.
(number) = bit.band(x1,x2)
Parameters
x1: (number) first number for and operation
x2: (number) second and more numbers can be provided for and operation optional
Return values
Returns (number) bitwise and