I need to format a series of float to show comma delimitation every 3 digits:
1234567.89123
should become
1,234,567.89123
without using:
locale.setlocale(locale.LC_ALL, 'en_US.utf8')
I could convert the float to string and insert commas every three digits starting from left of the decimal dot... Is there a nicer way?