摘要: 1 float f1 = 9803300f; 2 float f2 = 15834944f; 3 float val = f1/f2; 4 BigDecimal big = new BigDecimal(val).multiply(new BigDecimal(100)).setScale(2, ... 阅读全文
posted @ 2015-09-16 18:31 MyCloud 阅读(4866) 评论(1) 推荐(1) 编辑
摘要: 1 /** 2 * 是否是数字或小数 3 * @tags @return 4 * @exception 5 * @author wanghc 6 * @date 2015-9-16 下午5:50:15 7 * @return boolea... 阅读全文
posted @ 2015-09-16 18:28 MyCloud 阅读(13403) 评论(0) 推荐(0) 编辑