Here you can find the source of roundUpDivision(final int dividend, final int divider)
public static int roundUpDivision(final int dividend, final int divider)
//package com.java2s; //License from project: Open Source License public class Main { public static int roundUpDivision(final int dividend, final int divider) { if (dividend == 0) { return 0; }/*from w w w .j a v a 2 s . c o m*/ return (dividend + divider - 1) / divider; } }