🌈 搜索
📅  最后修改于: 2022-03-11 14:46:30.408000             🧑  作者: Mango
def as_currency(amount): if amount >= 0: return '${:,.2f}'.format(amount) else: return '-${:,.2f}'.format(-amount)