Hello everyone!
Do you know how to convert a number to a string form?
I need it because I get this error:
method com.google.appinventor.components.runtime.Label.Text argument 1 has type java.lang.String, got gnu.math.IntNum
Thanks!
just add number text to string
can u give blocks for reference and better answer
May be it work
Take a label and make its Visibility false now store that number to that label and from that label take the label.text as input for that value
With what block?
the block i have used to store value to tiny db use that block
did this help u
Not exactly
I finally done it with other type of variable (Setting the variable to “Get Number”)
Thanks anywhere!!
That’s the error from the dynamic component extension. Have you updated the extension? This problem is fixed in the last update if I didn’t remember wrongly.
Btw, I have never had this problem when I use a number
I’ve the last version…
Use Any Component blocks to set component properties please, use Set/Get Property blocks only when there is no Setter / Getter block for the components.
I mostly follow this, not because of any error, but I am too lazy to find the designer properties and then pass them in the set property of the extension.
I only use the extension’s set property when the required property isn’t available in native any component block
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.