a number.
To convert a string to a number, you pass in the number and the base (base-2 in this case) like so:</p>
<pre><code class="lang-lua"><span class="hljs-built_in">print</span>(<span class="hljs-built_in">tonumber</span>(<span class="hljs-string">&apos;101&apos;</span>, <span class="hljs-number">2</span>))
</code></pre>
<p>Which converts the binary number <code>101</code> to decimal when it prints out:</p>
<pre><code>5
</code></pre><p>For counting in binary and learning how to read and convert between