code: func ConvertUnits(val float64, from Unit, to Unit) float64 {
  	value := Unit(val)
  	// convert to I unit by multiplying with the current unit
  	value *= from
  	// convert to the target unit by dividing by it
  	if to == I {
  		return math.Round(float64(value))
  	}
  	value /= to
  	return float64(value)
  }
docs: // ConvertUnits converts the given value in the base Unit to the given new Unit.