def paramToPercent(current: int, min: int, max: int) -> int:
	"""Convert a raw parameter value to a percentage given the current, minimum and maximum raw values.
	@param current: The current value.
	@type current: int
	@param min: The minimum value.
	@type current: int
	@param max: The maximum value.
	@type max: int
	"""
	return round(float(current - min) / (max - min) * 100)