Java floor floor(Integer a)

Here you can find the source of floor(Integer a)

Description

Floor.

License

Open Source License

Parameter

Parameter Description
a the a

Return

the double

Declaration

public static double floor(Integer a) 

Method Source Code

//package com.java2s;

public class Main {
    /**//from   w ww .ja v  a 2s.  com
     * Floor.
     *
     * @param a the a
     * @return the double
     */
    public static double floor(Short a) {
        return Math.floor(a.doubleValue());
    }

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

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

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

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

Related

  1. floor(float value)
  2. floor(float x)
  3. floor(int f)
  4. floor(int number, int divisor)
  5. floor(int x, int quantum)
  6. Floor(Object in, int val)
  7. floor(String input)
  8. floor10(double a)
  9. floor1e5(double coordinate)