Java Ceil ceil(Short a)

Here you can find the source of ceil(Short a)

Description

Ceil.

License

Open Source License

Parameter

Parameter Description
a the a

Return

the double

Declaration

public static double ceil(Short a) 

Method Source Code

//package com.java2s;

public class Main {
    /**//from  w w  w. j  a  v a2  s . c  om
     * Ceil.
     *
     * @param a the a
     * @return the double
     */
    public static double ceil(Short a) {
        return Math.ceil(a.doubleValue());
    }

    /**
     * Ceil.
     *
     * @param a the a
     * @return the double
     */
    public static double ceil(Integer a) {
        return Math.ceil(a.doubleValue());
    }

    /**
     * Ceil.
     *
     * @param a the a
     * @return the double
     */
    public static double ceil(Float a) {
        return Math.ceil(a.doubleValue());
    }

    /**
     * Ceil.
     *
     * @param a the a
     * @return the double
     */
    public static double ceil(Long a) {
        return Math.ceil(a.doubleValue());
    }

    /**
     * Ceil.
     *
     * @param a the a
     * @return the double
     */
    public static double ceil(Double a) {
        return Math.ceil(a);
    }
}

Related

  1. ceil(int f)
  2. ceil(int number, int divisor)
  3. ceil(int x, int quantum)
  4. ceil(long a, long b)
  5. Ceil(Object in, int val)
  6. ceil10(double a)
  7. ceil2(double d, int p)
  8. ceil2(int a, int preserveDigits)
  9. ceilDiv(int numerator, int denominator)