Here you can find the source of ceiling_float_int(float value)
public static int ceiling_float_int(float value)
//package com.java2s; //License from project: Open Source License public class Main { public static int ceiling_float_int(float value) { int i = (int) value; return value > (float) i ? i + 1 : i; }/*from w ww . j a va 2s . co m*/ }