摘要: 方式一:0% NumberFormat percent = NumberFormat.getOercentInstance(); //设置精确到几位小数 percent.setMaximumFractionDigits(1); 方式二:0.00% DecimalFormat df = new Dec 阅读全文
posted @ 2019-03-20 16:06 卡卡学习 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1.idea中设置自动生成序列id setting-->Inspections-->Serialization issues --> 选中 Serializable class without 'serialVersionUID' 2.idea中配置文件乱码 编码一般都修改为utf-8(settin 阅读全文
posted @ 2019-03-20 15:45 卡卡学习 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-20 14:49 卡卡学习 阅读(304) 评论(0) 推荐(0) 编辑