user1687919
user1687919

Reputation: 1

App Inventor Runtime Error

I'm trying to make a very simple BMI calculator using App Inventor 2, and here is my designer screen, code and Error Message:

screenshots.

I can't find out the bug or anything might cause this. It does work and calculate properly! If I just tapped on the screen, the error message may disappear. And the error message won't show up if I remove all "if" blocks.

Here is my project(.aia file): through dropbox, could anyone help me solve this?

Upvotes: 0

Views: 2779

Answers (1)

zmd94
zmd94

Reputation: 110

I have take my time to test the code. Everything is working fine. By the way, you also can round off the result. Yet, it may be not so accurate if we want to know someone body mass index. ;)

enter image description here

Upvotes: 1

Related Questions