Convert unicode to python float but keep the decimal places
<p>I have a unicode string <code>x = u'12345678.87654321'</code>, I want to convert it to <code>float</code> in python using</p>

<pre><code>float(x)
</code></pre>

<p>It is converted to <code>12345678.88</code> instead. It seem like <code>float()</code> automatically rounds the number to two decimal places. I want to keep whatever is in the unicode string (less than 10 decimal places). What would be a good alternative?</p>

<p>EDIT: My apologies. The example I used is not tested. I will just use my real data:
I have an unicode string u'1464106296.285190'. This is the one that cannot be converted to float and retain all decimal places.</p>