Casting int to double
Does anyone know the best way to cast an int to a double performance wise? 1) Integer newx = new Integer( x );double tick = newx.doubleValue();or 2) int i = 3;double tick = Double.parseDouble(Integer.toString( i ) );
[265 byte] By [
edhady] at [2007-9-26 2:34:43]
