def downloadRange(app):
	""" Get the download range of an app. """
	downloads = '0-99'
	d = int(app['downloads'])
	if d >= 100 and d < 10000:
		downloads = '100-9,999'
	elif d >= 10000 and d < 1000000:
		downloads = '10,000-999,999'
	elif d >= 1000000 and d < 100000000:
		downloads = '1,000,000-99,999,999'
	elif d >= 100000000:
		downloads = '100,000,000+'
	return downloads