code: func (q *Quantity) AsDec() *inf.Dec {
  	if q.d.Dec != nil {
  		return q.d.Dec
  	}
  	q.d.Dec = q.i.AsDec()
  	q.i = int64Amount{}
  	return q.d.Dec
  }
docs: // AsDec returns the quantity as represented by a scaled inf.Dec.