Java Ceil ceil(float pX)

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

Description

ceil

License

Open Source License

Declaration

public static int ceil(float pX) 

Method Source Code

//package com.java2s;

public class Main {
    public static int ceil(float pX) {
        return pX > 0 ? (int) pX + 1 : (int) pX;
    }/* w ww . j a va  2 s  .c o m*/
}

Related

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