DecimalFormat fmt = new DecimalFormat(“0.##”);
double value = fmt.format(“23.457”);
System.out.print(value);

After writing this, i get a compile time error. Why is that?