code: func parsePercentage(input string) (float32, error) {
  	value, err := strconv.ParseFloat(strings.TrimRight(input, "%"), 32)
  	if err != nil {
  		return 0, err
  	}
  	return float32(value) / 100, nil
  }
docs: // parsePercentage parses a string representing a percentage value