Java DecimalFormat.format does not format the number?
<p>I have the method below, but for some reason it is not formatting the area to have only one decimal. All help is appreciated.</p>

<pre><code>public double beraknaArea()
    {
       DecimalFormat formatter = new DecimalFormat("#0.0");
       double area = 0;
       area = radie*radie*3.14;
       formatter.format(area);
       return area;
     }
</code></pre>
