def GetShortAmountOfBeer(amount):
  """Returns a shortened string for an volume in Litre

  Args:
    amount(float): quantity, in L.
  Returns:
    str: the human readable string.
  """
  if amount >= 999.5:
    return 'DEAD'
  if amount >= 99.5:
    return '{0:>4d}'.format(int(round(amount)))
  return '{0:4.3g}'.format(amount)