decimals and with the thousand precision mark.
if i do
print(f"{floatvalue:,.2f}")
i get the result
1,234.45
how can i enable the locale aware formatting to get the result with the comma as decimal mark and the dot as thousand mark ?
1.234,45
%.2f
Стикер
Обсуждают сегодня