src/main/java/com/rockagen/commons/util/Arith.java
public static double toDouble(final float f){
    	BigDecimal b = new BigDecimal(Float.toString(f));
    	return b.doubleValue();
    }
public static double toDouble(final float f){
    	BigDecimal b = new BigDecimal(Float.toString(f));
    	return b.doubleValue();
    }
to float
@param f float value
@return double