public static int calculateDeliveryControllerCount(int vmcount){
  int itmp=0;
  Float f=(vmcount / 2000.00F);
  f=(float)Math.ceil(f);
  f++;
  itmp=f.intValue();
  return itmp;
}

public static int calculateDeliveryControllerCount ( int vmcount ) { int itmp = 0 ; Float f = ( vmcount / 2000.00F ) ; f = ( float ) Math . ceil ( f ) ; f ++ ; itmp = f . intValue ( ) ; return itmp ; }
calculate number of delivery controllers
