How can I convert text to "number"?
Unclear what you mean / want:
Please read this first:
I want to convert "text of label 1(random integer)" to number format...
Such question already exists. Try searching before you post
And again: unclear ...
Show examples and read the mentioned guide.
But it works, isn't it?
What did not work for you?
I have used this method in my app and have never faced any issues
2 weeks ago I and a few classmates tried using a string directly as a number. And it gave me an error message.
Could you show the error?
I want to
Label7(text) → number
How can I ?
I don't exactly remember, neither do I have any screenshots
Is there any specific reason to covert it to number? Because as I showed, all operations work good with a text string containing only numbers
text "17" → number "17"
How ????
If you must:
but as previously said, the string will be treated as a number in mathematical operations. However, the number may be treated differently in (online databases) - e.g. firebase/mySQL/sqLite - but this will depend on how you transfer it.
May we know?
maybe you mean like this :
@mal_ju never mentioned comparing of the spelling and numeral of any number!
@Salman_Dev kindly do not go off topic