问个基础知识。 numberFormat formatter = new DecimalFormat("0.00") 这个话的意思解释下。。各位大神。 format [解决办法]就是把num按0.00的格式输出啊