public static double ceil(double f,Ceil type){
  return Math.ceil(f * type.mult) / type.mult;
}

public static double ceil ( double f , Ceil type ) { return Math . ceil ( f * type . mult ) / type . mult ; }
used to round values up based on the specified type .
