code: func (h *Histogram) ValueAtQuantile(q float64) int64 {
  	if q > 100 {
  		q = 100
  	}
  
  	total := int64(0)
  	countAtPercentile := int64(((q / 100) * float64(h.totalCount)) + 0.5)
  
  	i := h.iterator()
  	for i.next() {
  		total += i.countAtIdx
  		if total >= countAtPercentile {
  			return h.highestEquivalentValue(i.valueFromIdx)
  		}
  	}
  
  	return 0
  }
docs: // ValueAtQuantile returns the recorded value at the given quantile (0..100).