I got project do convert from cm to inch. I did it: how can i round my number with Math.round?
import java.util.Scanner; public class Centimer_Inch { pub
You can print to two decimal places using the following.
System.out.printf("%.2f inch is %.2f centimeters%n", inches, centimeters);