摘要: private static final DateFormat dformat = new SimpleDateFormat("yyyy-MM-dd"); /** 2019-03-20 2019-03-21 2019-03-22 2019-03-23 2019-03-24 2019-03-25*/ 阅读全文
posted @ 2019-03-13 11:54 码农张3 阅读(100) 评论(0) 推荐(0)
摘要: //3.1415926结果3.14,3.1455926结果3.15 double d = 3.1415926; String result = String.format("%.2f", d); 阅读全文
posted @ 2019-03-13 11:50 码农张3 阅读(123) 评论(0) 推荐(0)