NumberFormat.setMaximumFractionDigits(int)。设置最多保留小数位数,不足不补0。 import java.text.NumberFormat; ...
確定! 回上一頁