locale.setlocale(locale.LC_ALL, '')
locale.format('%f', 2.2)
locale.format('%g', 2.2)
locale.atof('3,1415926')
How do I change my float into a two decimal number with a comma as a decimal point separator in python?