Python F String Dezimalstellen
>>> a = 10.1234
>>> f'{a:.2f}'
'10.12'
Danger D
>>> a = 10.1234
>>> f'{a:.2f}'
'10.12'
>>> number1 = 10.1234
>>> f'{number1:.2f}'
'10.12'
>>> f'{a*1000:,.2f}'
'10,123.40'