ype">function</span> <span class="binding-type"><a href="https://github.com/janet-lang/spork/blob/48aa9f9b04e2fc0848a7834d6957db3328c0440e//spork/misc.janet#L411">source</a></span> <pre class="binding-text">(string-&gt;int str &amp;opt base)

Parse an integer in the given base. Defaults to decimal (base 10). Differs
from scan-number in that this does not recognize floating point notation.</pre><a href="https://janetdocs.org/misc/string->int">Community Examples</a></div><hr><div class="binding"><span id="mis