Situ LLC Active Member Licensed User Longtime User Oct 3, 2019 #1 Hello, Reviewing this thread, I found how to use TextChanged with an EditText, it works well with thousands, but what I need is to be able to use it with thousands and decimals. https://www.b4x.com/android/forum/threads/textchanged.9932/ The code works well to work with thousands but does not work with decimals. ejm: 1,267.56 Regards
Hello, Reviewing this thread, I found how to use TextChanged with an EditText, it works well with thousands, but what I need is to be able to use it with thousands and decimals. https://www.b4x.com/android/forum/threads/textchanged.9932/ The code works well to work with thousands but does not work with decimals. ejm: 1,267.56 Regards
Erel B4X founder Staff member Licensed User Longtime User Oct 3, 2019 #2 Modifying the text while the user is typing usually ends with a bad user experience. A better option is to handle the focus changed event (or other events) and then format the number. Upvote 0
Modifying the text while the user is typing usually ends with a bad user experience. A better option is to handle the focus changed event (or other events) and then format the number.