def format_bytes(size: float, denomination: str='GB') ->float:
    """Convert bytes to the desired denomination.

    Args:
        size (int): The size, in bytes.
        denomination (str): The byte denomination to convert size to.
            Defaults to: GB. Options are: KB, MB, GB, and TB.

    Returns:
        float: The float formatted to the requested denomination.

    """
    bytes_map = {'KB': 2 ** 10, 'MB': 1024 ** 2, 'GB': 1024 ** 3, 'TB': 
        1024 ** 4}
    if denomination not in bytes_map.keys():
        raise ValueError(
            f'Invalid option provided to format_bytes denomination argument! Options are: {bytes_map.keys()}'
            )
    converted_size: float = size / bytes_map[denomination]
    return converted_size
