Here you can find the source of roundUp(int num, int divisor)
public static int roundUp(int num, int divisor)
//package com.java2s; //License from project: Open Source License public class Main { public static int roundUp(int num, int divisor) { return (num + divisor - 1) / divisor; }/*from w ww.j a va 2s. c o m*/ }