摘要: 1、String转int类型的话。需要用Double.valueof("这写String类型的数据").intValue(); 2、保留小数点: float scale = (float) 100; DecimalFormat fnum = new DecimalFormat("0.00"); St 阅读全文
posted @ 2019-03-14 18:35 LambertL 阅读(156) 评论(0) 推荐(0) 编辑