code: func (q *Quantity) SetScaled(value int64, scale Scale) {
  	if q.Amount == nil {
  		q.Amount = &inf.Dec{}
  	}
  	q.Amount.SetUnscaled(value)
  	q.Amount.SetScale(scale.infScale())
  }
docs: // SetScaled sets q's value to be value * 10^scale