Double decimal values
<pre><code>long startTime = System.currentTimeMillis();
float resultTime= (System.currentTimeMillis() - startTime) / 1000;
System.out.println("Result time : " + resultTime);
</code></pre>

<p>The result is always a rounded value like <em>1.0</em> or <em>2.0</em>.
How can I obtain an exact result like <em>1.234</em>?</p>
