Hi i searched the forum but couldnt find an answer. How can i convert a text from a list to a number?
if the text is already numerals then just add 0 to it or multiply it by 1
Right. And to convert a number to text, you can join it with an empty string ("").
@overturner If you’re needing to convert a list to a number… can you explain that? Do you actually mean a list variable/value? Or do you just mean a text string? Can you give an example?
For example i have a list : 2.456 , 3.256 , 562.234 , 21.56
Then i want to add all these
So i use a sum of list function and it gives me the actual sum. But when i dont give it a defined list then it gives me 2.4563.256562.234 etc
My code :
You need to use a loop and add the individual entries by adding 0 and then add it to the running sum.