4 ms·
Python 2.7 also added a non-locale aware thousands separator that be be combined with other options: >>> "{:>40,.2f}".format(sys.maxint) ' 9
by erichurkman 12y ago
Python 2.7 also added a non-locale aware thousands separator that be be combined with other options:
>>> "{:>40,.2f}".format(sys.maxint)
' 9,223,372,036,854,775,808.00'