MitAppInventor - Arguments containing different datatypes prevented the access to convert the units

42 views Asked by At

I am trying to make an app for converting unit values using Mit- app-inventor. While assigning input values, it's not processing.

enter image description here

The code above is taken from the code i've been working on. How to improve the code and where to find the input function to convert the units?

I expected the code to convert the units from pounds to kg when you enter the value, however the arguments weren't able to convert as there were two different datatypes.

1

There are 1 answers

2
Metric Rat On

None of your blocks make much sense. This should be all you need to display the converted value to the screen. (You can amend as you require)

enter image description here