摘要: /** * 元转分,确保price保留两位有效数字 * @return */ public static int changeY2F(double price) { DecimalFormat df = new DecimalFormat("#.00"); price = Double.valueOf(df.forma... 阅读全文
posted @ 2018-08-27 10:07 大宇007 阅读(23059) 评论(0) 推荐(0) 编辑