Converting String to Double
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6713673/precision-error-with-floats-in-java">Precision error with floats in Java</a><br>
  <a href="http://stackoverflow.com/questions/8178696/double-numbers-multiplication-with-out-precision-and-commas">Double number&#39;s multiplication with out precision and commas</a>  </p>
</blockquote>



<pre><code>public class Test {

    public static void main(String[] args) {
        double d = Double.parseDouble("64.4");
        d -= 1;
        System.out.println(d);
    }
}
</code></pre>

<p>What i expect is <strong>63.4</strong> but it prints <strong>63.400000000000006</strong></p>

<p>How could i fix this problem,
Thanks.</p>
