i have a variable declared as double, it has a value of 32.6666667, i wanted to format the decimal places into 2 only. is there a method in Java that.
確定! 回上一頁