摘要:
1、加减乘除操作public class MyMath { public static final int DEFAULT_SCALE = 20; public static double add(double num1, double num2) { BigDecimal first = getBigDecimal(num1); BigDecimal second = getBigDecimal(num2); return first.add(second).doubleValue(); } public static double substract(double num1,... 阅读全文
posted @ 2012-12-14 16:33 work hard work smart 阅读(469) 评论(0) 推荐(0) 编辑