Silly question but couldn’t find the right answer on Google (or didn’t know what to search 🙂
I have a string containing this number: 3.0.1
How can I convert it to an Int/double/float/whatever in order to check if it’s bigger/smaller/equal to…
I don’t mind cutting it to get only the first number (3).
Thanks in advance,
Lior
1 Answer