Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1085
Number display after editing in German environment incorrect
posted

After editing a number value on a German system, the value displayed is 100 times what it should be in the column, but the value displayed in the editor is correct.

I have tracked this down to the following code in ig.formatter:


			// keep only e, E, -, +, . and digits
			val = parseFloat(val.replace('(''-').replace(/[^0-9\-eE\.\+]/gm, ''));

Since german uses , as the decimal separator and . as the thousands separator, applying the above code to a value such as 123,45 yields a value of 12345 while a value such as 1.234,56 yields a value of 1.23456.

Parents Reply Children