java保留小数
http://www.bincn.com/index.php?load=read&id=607 首先定义: java.text.DecimalFormat df=new java.text.DecimalFormat("#0.00");
再是: x = 83.3333333333; df.format(x);
结果: 83.33
http://www.bincn.com/index.php?load=read&id=607 首先定义: java.text.DecimalFormat df=new java.text.DecimalFormat("#0.00");
再是: x = 83.3333333333; df.format(x);
结果: 83.33
评论功能维护中,当前仅展示历史评论。
应该再补一个AS用的