floorPositive

fun floorPositive(value: Float): Int

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.