import math


def hm(hours):
	"""Convert hours to hour-minute

	If hours is negative, only hour of the tuple is negative.
	"""
	if math.isinf(hours):
		return None
	minutes = int(math.ceil(hours * 60))
	h, minutes = divmod(minutes, 60)
	return (h, minutes)