Java Ceil ceil(float value)

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

Description

ceil

License

Open Source License

Declaration

public static int ceil(float value) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int ceil(float value) {
        int i = (int) value;
        return value > i ? i + 1 : i;
    }/*  ww w  .  ja va  2s.c o  m*/

    public static int ceil(double value) {
        int i = (int) value;
        return value > i ? i + 1 : i;
    }
}

Related

  1. ceil(float f)
  2. ceil(float f)
  3. ceil(float f)
  4. ceil(float floatNumber)
  5. ceil(float pX)
  6. ceil(float value)
  7. ceil(float x)
  8. ceil(float x)
  9. ceil(float x)