def _to_degrees(value):
	"""
	Helper function to convert GPS coords to degrees (float)
	value is of type: exifread.utils.Ratio
	returns float
	"""
	d = float(value.values[0].num) / float(value.values[0].den)
	m = float(value.values[1].num) / float(value.values[1].den)
	s = float(value.values[2].num) / float(value.values[2].den)
	
	return d + (m / 60.0) + (s / 3600.0)