CSV import number (text to number)

Hello

I have a problem for a few days concerning the import of a CSV.
In the CSV there is a lot of X & Y coordinates in two columns that I want to use to move a sprit
the problem is that APPinventor considers me coordinates as text and not numbers...

Anyone have an idea please?

Thank you in advance and have a good day.

Post the text file here?

xy.csv (6.9 KB)

Your csv is improperly formatted (uses ; instead of ,). Use the text replacement block to change these then you can set a proper AI2 list, and access each x/y coordinate without double quotes.

image

your way is simpler for lists but the first coordinate of list X is not a number but text why?

Thank you

a label.Text of course always a text

Did you try it on a sprite in your canvas ?