roundPositive

fun roundPositive(value: Float): Int

Returns the closest integer to the specified float. This method will only properly round floats that are positive.