def _GetPercentile(sortedlist, percent):
  if not sortedlist:
    return None




  k = int(math.ceil(len(sortedlist) * percent)) - 1
  if k < 0:


    k = 0
  return sortedlist[k]
Returns a desired percentile value of a sorted list of numbers.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/analytics/process.py/_GetPercentile