Me marca este error por favor ayuda

well, as the error message is trying to tell you... you only can add numeric values like 0 + 3 = 3
you can't add strings as you are doing it currently 0 + "$ 3 million"


please do not take photos of your blocks, do it like this

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

use Do it to find out the 2 textbox values...

see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like


que tendria que modificar

check your precio1 textbox and use only use numeric values like 3 but not strings like $ 3 million


En Math puedes sumar números con números. 0+3000000.
No puedes sumar 0 + "$3 millones" porque esto es un string no un numero.
El número tienes que escribirlo sin puntos ni comas, excepto i se trata de un decimal.
Eso es lo que te está explicando Taifun

1 Like