1unitedpower: Input und Dezimalzahlen

Beitrag lesen

Die Spezifikation schreibt den Dezimalpunkt vor.

Da geht es nur um Interna, die Spec legt Browser-Herstellern an einer anderen Stelle nahe dem Nutzer Zahlen in seinem bevorzugten lokalen Zahlenformat anzuzeigen:

This specification does not define what user interface user agents are to use; user agent vendors are encouraged to consider what would best serve their users' needs. For example, a user agent in Persian or Arabic markets might support Persian and Arabic numeric input (converting it to the format required for submission as described above). Similarly, a user agent designed for Romans might display the value in Roman numerals rather than in decimal; or (more realistically) a user agent designed for the French market might display the value with apostrophes between thousands and commas before the decimals, and allow the user to enter a value in that manner, internally converting it to the submission format described above.

https://www.w3.org/TR/html51/sec-forms.html#number-state-typenumber