Closed s0170071 closed 3 years ago
According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
and actually verified both in Firefox and Chrome the decimal separator for the de
locale is the comma:
> new Intl.NumberFormat("de").format(0.5)
< "0,5"
If you want a dot instead change your locale to e.g. en
.
> new Intl.NumberFormat('en').format(0.5)
< "0.5"
See also https://stackoverflow.com/questions/48273724/complete-list-of-all-different-intl-numberformats Sorry, but unless this leads to an actual bug (it appears not to be the case), this will be a "wontfix" for me.
just accepted that this is highly unusual in Germany. The only software using a comma as decimal so far is Excel. And it differs from the textual configuration.
The problem
when configuring a stepper widget, the step size can be given as float. It does, however, use a comma instead of a decimal point.
Expected behavior
I use the german language, however, this part of the UI seems untranslated. I would expect a decimal point, e.g. 0.2°C, not 0,2°C
Steps to reproduce
Your environment
Browser console
Browser network traffic
none.
Additional information