Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive