public static int divideToCeil(int numerator,int denominator){
  Double result=Math.ceil((double)numerator / denominator);
  return result.intValue();
}

public static int divideToCeil ( int numerator , int denominator ) { Double result = Math . ceil ( ( double ) numerator / denominator ) ; return result . intValue ( ) ; }
performs a division and rounds upwards to the next integer .
