Floating point equivalent to strtol() in C
<p><code>strtol</code> converts the inputed string str to a long value of any specified base of 2 to 36. <code>strtof()</code> offers a similar functionality but without allowing your to specify base. Is there another function that does the same as <code>strtof</code> but allows you to select base?</p>

<p>e.g Lets say 101.101 is inputted as a string. I want to be able to do</p>

<pre><code>strtof("101.101", null, 2);
</code></pre>

<p>and get an output of <code>5.625.</code></p>