src/main/java/com/rockagen/commons/util/Arith.java
public static double sub(final double v1,final double v2){
        BigDecimal b1 = new BigDecimal(Double.toString(v1));
        BigDecimal b2 = new BigDecimal(Double.toString(v2));
        return b1.subtract(b2).doubleValue();
    }
public static double sub(final double v1,final double v2){
        BigDecimal b1 = new BigDecimal(Double.toString(v1));
        BigDecimal b2 = new BigDecimal(Double.toString(v2));
        return b1.subtract(b2).doubleValue();
    }
sub
@param v1 left value
@param v2 right value
@return v1-v2