james
10/12/2017, 4:44 AM"$%,.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)