Here you can find the source of RoundFullUp(double d)
Parameter | Description |
---|---|
d | Value to round up to the next full integer |
public static double RoundFullUp(double d)
//package com.java2s; public class Main { /***//ww w . j ava 2s .c o m * 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); } }