I have the method below, but for some reason it is not formatting the area to have only one decimal. All help is appreciated.
public double beraknaArea()
{
DecimalFormat formatter = new DecimalFormat("#0.0");
double area = 0;
area = radie*radie*3.14;
formatter.format(area);
return area;
}