How to convert a String ("95941634.164") to a float : <p>When I tyr to convert a String "95941634.164" to a float and print the same, it is printing as 9.5941632E7 but not as 95941634.164.</p>

<p>I tried following conversion methods Float.parseFloat() and Float.valueOf()</p>

<pre><code>public static void main(String args[])
{
    String s = "95941634.164" ;
    Float f  = Float.valueOf(s);
    System.out.println(f);
    System.out.println(Float.parseFloat("95941634.164"));
}
</code></pre>

<p>Actual: 9.5941632E7 expected 95941634.164</p>
