code: func (q *Quantity) AsScale(scale Scale) (CanonicalValue, bool) {
  	if q.d.Dec != nil {
  		return q.d.AsScale(scale)
  	}
  	return q.i.AsScale(scale)
  }
docs: // AsScale returns the current value, rounded up to the provided scale, and returns
  // false if the scale resulted in a loss of precision.