convert decimal to significant digits
<p>Is there a function in python that could convert decimal to 3-4 significant digits, 
eg:</p>

<pre><code>55820.02932238298323 to 5.58e4
</code></pre>

<p>Many thanks in advance.</p>
