Here you can find the source of roundUp(int p_154354_0_, int p_154354_1_)
public static int roundUp(int p_154354_0_, int p_154354_1_)
//package com.java2s; //License from project: Open Source License public class Main { public static int roundUp(int p_154354_0_, int p_154354_1_) { if (p_154354_1_ == 0) { return 0; } else if (p_154354_0_ == 0) { return p_154354_1_; } else {//www. ja va 2s . c o m if (p_154354_0_ < 0) { p_154354_1_ *= -1; } int i = p_154354_0_ % p_154354_1_; return i == 0 ? p_154354_0_ : p_154354_0_ + p_154354_1_ - i; } } }