Converting float.hex() value to binary in Python
<p>I am wondering how to convert the result returned by <code>float.hex()</code> to binary, for example, from <code>0x1.a000000000000p+2</code> to <code>110.1</code>.</p>

<p>Can anyone please help? Thanks.</p>
