First of all, I have tried this post (among others): Currency formatting in Python. It has no affect on my variable. My best guess is that it is because I am using Python
In python 3, you can use:
import locale locale.setlocale( locale.LC_ALL, 'English_United States.1252' ) locale.currency( 1234.50, grouping = True )
Output
'$1,234.50'