l.</p>
<p>The operation is not limited to two inputs:</p>
<pre><code class="lang-lua"><span class="hljs-built_in">print</span>(bit.band(<span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">1</span>))
</code></pre>
<p>You can also pass it multi-digit numbers:</p>
<pre><code class="lang-lua"><span class="hljs-built_in">print</span>(bit.band(
  <span class="hljs-built_in">tonumber</span>(<span class="hljs-string">&apos;111&apos;</span>, <span class="hljs-number">2</