Formatting a Double into the correct format
<p>Having problem getting a Longitude/Latitude into the correct format for an api we don't have access to. </p>

<p>We need to convert this to a string and at the moment we have:   4.30044549E7
as the raw form but we need to convert it into 4.30044549 or similar (without Scientific Notation)</p>

<p>If we use</p>

<pre><code>NumberFormat f = new DecimalFormat("#.#######");
f.format(4.30044549E7);
</code></pre>

<p>we get: 43004454.9</p>

<p>if we use </p>

<pre><code>Double.toString(4.30044549E7);
</code></pre>

<p>we get: "4.30044549E7"</p>

<p>if we try to convert to an int we also get 43004454.9</p>

<p>Can anyone help? I can't find an acceptable solution to get rid of scientific notation on the number</p>
