def size_to_kb_mb_string(data_size: int, as_additional_info: bool = False) -> str:
	"""Returns human-readable string with kilobytes or megabytes depending on the data_size range. \n
		:param data_size: data size in bytes to convert
		:param as_additional_info:
		if True, the dynamic data appear in round bracket after the number in bytes. e.g. '12345678 bytes (11.7 MB)'
		if False, only the dynamic data is returned e.g. '11.7 MB' """
	if data_size < 1024:
		as_additional_info = False
		dynamic = f'{data_size} bytes'
	elif data_size < 1048576:
		dynamic = f'{data_size / 1024:0.1f} kB'
	else:
		dynamic = f'{data_size / 1048576:0.1f} MB'

	if as_additional_info:
		return f'{data_size} bytes ({dynamic})'
	else:
		return dynamic