def currency(amount):
    """
    Returns the dollar amount in US currency format.
    """
    if amount >= 0:
        return '${:,.2f}'.format(amount)
    else:
        return '-${:,.2f}'.format(-amount)