Here you can find the source of floor(Integer a)
Parameter | Description |
---|---|
a | the a |
public static double floor(Integer a)
//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); } }