最佳答案
如何得到小数点后两位数的双精度值。
比如说
如果
i=348842.
double i2=i/60000;
tv.setText(String.valueOf(i2));
生成 5.81403333
的代码。
但我只要 5.81
。
那我该怎么办?