The experiment app

Good day. Please help. I want to program an app. I enter the number 600 in TextBox1. I enter the number 4 in TextBox2. If in TextBox1 = 600 and TextBox2 = 4 it writes the number 800 in TextBox3. If I change the number in TextBox2 to 45, then it writes the number 900 in TextBox3. The experiment is in the picture. Thank you for your response. Sorry for the bad English.

45 contains 4 so your test will always return 800

What you need to do is compare for exact items e.g. does 4 = 4 does 45 = 45

Yes. That is exactly the problem. And I don't know how to fix it.

Thank you very much. :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.