Converting string to float in Java without round it
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3440833/rounding-in-java-float-parsefloat">Rounding in java Float.parseFloat</a>  </p>
</blockquote>



<p>I want to convert strings to float i say:</p>

<pre><code>System.out.println(Float.parseFloat("1553781.9829"));
</code></pre>

<p>Output:</p>

<pre><code>1553782.0
</code></pre>

<p>I say:  </p>

<pre><code>System.out.println(Float.valueOf("1553781.9829"));
</code></pre>

<p>Output:</p>

<pre><code>1553782.0
</code></pre>

<p>How to get Float without lossing precision?</p>
