摘要:
1 package com.wteam.pojo; 2 3 public class Test { 4 public static void main(String args[]){ 5 double f = 1000.095; 6 // BigDecimal price = new BigDecimal(Double.toString(f)); 7 java.text.DecimalFormat df=new java.text.DecimalFormat("0.00"); 8 System.out.println(d... 阅读全文