`"$%,.2f".format(9999.99)` should do it properly. ...
# getting-started
j
"$%,.2f".format(9999.99)
should do it properly. although I think if the user has a european locale it might swap the
,
and
.
positions.. but in many cases this is welcome behaviour (ie. if you're just displaying values to a user or in a report)