@current_app.template_filter()
def dollar(value):
    return locale.currency(float(value), grouping=True)
Formats the float value into two-decimal-points dollar amount.
dataset/ETHPy150Open Robpol86/Flask-Large-Application-Example/pypi_portal/middleware.py/dollar