how to remove extra dots from a float numbers using php
<p>How can i remove extra dots from a float value.</p>

<p>Example:</p>

<p>I have a <strong><code>$amount= 61786.6605..</code></strong> in my php page.How can i get output like <code>$amount=61786.6605</code> .
Please help me  to solve this problem</p>
