/** * * Adds .5 and rounds the result...this should round up to the full integer anything <.4 * * @param d Value to round up to the next full integer * @return rounded integer */ public static double RoundFullUp(double d) { return Math.round(.4 + d); }