Here you can find the source of floorPositive(float value)
static public int floorPositive(float value)
//package com.java2s; //License from project: Open Source License public class Main { /** Returns the largest integer less than or equal to the specified float. This method will only properly floor floats that are * positive. Note this method simply casts the float to int. */ static public int floorPositive(float value) { return (int) value; }//from ww w. ja v a 2s .c o m }