That's exactly the case. The problem is the following: I have a table and the values of columns A are linked each other by a certain function f(). Now, when I edit one element of column A, all the other elements should be updated. However, when editing I want to display only 3 significant digits, but the real calculation should consider all the significant digits (not the displayed rounded value). Concrete case: two variables in the table A = 38.5; B = 11;
The ratio A/B must be 3.5. So if I edit A and write 12 I should get B=3.428571428571428, which is then displayed with 3 decimal digits as 3.429. Suppose now I want to edit B. Double click on B, and just press enter, without changing the number. When I press enter the TextInput calls store() and valueOf(), which takes the value 3.429 as the "true" value, and set A=3.429*3.5=12.001. If you repeat this type of rounding error on a table after a few cycles you get quite useless numbers. Is there any way to avoid this problem? -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Formatted-value-and-actual-data-in-TextInput-tp2099149p2101531.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
