I am creating an app that will serve as the user interface for a project I am helping my dad with. The main use of the app is to display information I get from a MQTT server using the https://ullisroboterseite.de/android-AI2-PahoMQTT.html plugin. In one of the text labels I want to show the sum of two wattage values, but the message I get from the server is in text form. I there a way to convert the text to something I can use in math blocks?
Show us sample text, so we can figure out how to separate the numbers from the text.
1 Like
What happens when you add?
Can you please send an example text in which it is recived
Assuming that you get text in the form of text:number for example GT:1200 from your site you can use split text block
2 Likes
In the Designer, go through your 20 Labels and set their text values to '0'.
You left them at the default value, which poisoned your math.
1 Like