摘要: public class FileLei { public static void main(String[] args) throws IOException { //..表示上一级目录 .表示当前所在目录 File file = new File("C:\\Users\\cdlx2016\\De 阅读全文
posted @ 2016-12-03 21:01 阿水写程序 阅读(617) 评论(0) 推荐(1) 编辑
摘要: 1 import java.math.BigDecimal; 2 import java.text.DecimalFormat; 3 import java.text.NumberFormat; 4 public class format { 5 double f = 111231.5585; 6 public void... 阅读全文
posted @ 2016-12-03 12:56 阿水写程序 阅读(325267) 评论(2) 推荐(4) 编辑