Hi I am seeking some insight into storing text input into a variable. My task is to take five text inputs, store the numbers the user inputs, then do some fancy math with them to create a solution variable to display. However, within the SDK I am getting confused quickly on how to actually store these correctly. I can’t find much tutorials on this online, seeking gurus to help!
Share
Pretty straightforward stuff.
Declare the variable:
Then assign the string:
If you’re going to need the string to stick around for any period of time beyond the method where you capture it, you might consider making it a property of the class:
That’s just for a string. If the user is inputting text that you want to treat as a number, you can do: