+ 3

How to switch a string value to a int value?

I am a simple guy, and I don't know how to do these things

24th Jul 2018, 2:42 PM
Darian Cornett
Darian Cornett - avatar
8 Respuestas
+ 4
convert.toint32("test"); or int.parse("test"); These two line code converts string to int
24th Jul 2018, 2:55 PM
Secret
Secret - avatar
24th Jul 2018, 2:55 PM
TurtleShell
TurtleShell - avatar
+ 1
sorry, c#
24th Jul 2018, 2:51 PM
Darian Cornett
Darian Cornett - avatar
+ 1
k, thanks for your time
24th Jul 2018, 2:54 PM
Darian Cornett
Darian Cornett - avatar
+ 1
c#, should've put that in the description
24th Jul 2018, 3:07 PM
Darian Cornett
Darian Cornett - avatar
0
Which language are you talking about?
24th Jul 2018, 2:50 PM
giannismach
giannismach - avatar
0
Sorry, but I don't know much about C# and I can't help you. You can search Stack Overflow about it.
24th Jul 2018, 2:54 PM
giannismach
giannismach - avatar
0
What language ate you writing in?
24th Jul 2018, 3:07 PM
josh mizzi
josh mizzi - avatar