Defina o ponto decimal em java

DecimalFormat df = new DecimalFormat("###.###");
System.out.println(df.format(PI));
Yellowed Yak