複製程式碼程式碼如下:mport java.text. ... new DecimalFormat("######0.00"); double d1 = 3.23456 double d2 = 0.0;double d3 = 2.0;df.format(d1)
確定! 回上一頁