摘要: 1、double保留两位数字 double f=30.3336; DecimalFormat df = new DecimalFormat("#.00"); System.out.println(df.format(f)); 2、System.out.println("3>1="+(3>1)); / 阅读全文
posted @ 2017-09-23 09:21 爱珍 阅读(169) 评论(0) 推荐(0)