Jinja2 how to format a number with thousands separator and round to two digits?

Solution
{{ "{:,.2f}".format(data[0]['amount']) }}