D3 format for hovertemplate

Hi community,

I’m trying to format the hovertext of my bar plot.

fig.update_traces(hovertemplate = ‘Umsatz: € %{y: ,}’, secondary_y=False) dispyas my numbers like 100,045.76 whats the correct format I want to have but I want to change the decimal and thousand separator.

I’m trying to change the decimal separator from “.” to “,” and the thousand separator from “,” to “.”

LIKE 100.999,98

Would be happy about some help.

Greetings Mae