percentile

fun percentile(percentile: Double): Long

The value at percentile (0 to 100): the highest value of the bucket that holds the value of that rank, at most max; 0 when nothing was recorded.