Java Ceil ceiling_float_int(float value)

Here you can find the source of ceiling_float_int(float value)

Description

ceilinfloaint

License

Open Source License

Declaration

public static int ceiling_float_int(float value) 

Method Source Code

//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*/
}

Related

  1. ceilDiv(long a, long b)
  2. ceilDivide(long a, long b)
  3. ceilDivision(int value, int divisor)
  4. ceiling(double d)
  5. ceiling(double d)
  6. ceilingAbs(double a)
  7. ceilingHalf(int num)
  8. ceilingNextPowerOfTwo(final int x)
  9. ceilingPow2(int n)