Java provides a better way to do the same thing with the "printf" method: ... System.out.printf("Number is approximately %.2f", x); //prints "Number is ...
確定! 回上一頁