from typing import Union


def latex_subscript(val: Union[str, float]) -> str:
	"""
	Returns the LaTeX subscript of the given value.

	:param val: The value to superscript.

	:rtype: str
	"""

	return f"$_{{{val}}}$"