set decimal point in java code example
Example: set decimal point in java
DecimalFormat df = new DecimalFormat("###.###");
System.out.println(df.format(PI));
DecimalFormat df = new DecimalFormat("###.###");
System.out.println(df.format(PI));