And I have no problem with you posting lots of questions in this topic.
As for your question, here's the easiest way I know how to do it:
import java.text.*; class decimalrounding { public static void main (String[] args) { double a = 2; double b = 3; DecimalFormat decimalround = new DecimalFormat("#0.00"); String c = decimalround.format(a/b); System.out.println(c); } }
This will take 2/3, which would normally be displayed as 0.6666666666666666, and display it as 0.67.
If you have any questions, let me know.