This problem also exists for other languages.
When entering the 4th digit, a comma is added to the input (thousands separator) which is interpreted as decimal separator in most other languages.
I hope this can be fixed with translation and is not hard coded.