double value = 200.3456;
System.out.printf("Value: %.2f", value);
You can use either String.format()
String result = String.format("%.2f", value);
Or you can use DecimalForamat()
DecimalFormat df = new DecimalFormat("####0.00");
System.out.println("Value: " + df.format(value));