int totalFee = (int)(Double.parseDouble(paramMap.get("totalFee").toString())*100);

     int totalFee = (int)(Float.parseFloat(paramMap.get("totalFee").toString())*100);

 

第二种写的时候有时会使数据值变小;

相关文章: