code: func ConvertIntToInt(val int64, lowerBound int64, upperBound int64, tp byte) (int64, error) {
  	if val < lowerBound {
  		return lowerBound, overflow(val, tp)
  	}
  
  	if val > upperBound {
  		return upperBound, overflow(val, tp)
  	}
  
  	return val, nil
  }
docs: // ConvertIntToInt converts an int value to another int value of different precision.