摘要: #与0的区别: #:没有则为空 0:没有则补0 final DecimalFormat df = new DecimalFormat("0.##"); final String str1 = df.format(a); final DecimalFormat df = new DecimalForm 阅读全文
posted @ 2020-03-23 11:20 aspirant 阅读(4139) 评论(0) 推荐(0) 编辑