I’m loading some data from an external .txt-file.
In the .txt-file i have this:
number=40
I want to manipulate the number like this:
newNumber = this.number+1;
…in order to get the new number to be 41, but when I load the number from the .txt-file it is loaded as a string (am I not right?).
How do I convert the number to be an integer instead of a string, so I can manipulate it?