+ 2

How to convert strings

What is the code to convert a string to an integer?

14th Feb 2024, 5:22 AM
B33 GAMING
B33 GAMING - avatar
3 Respostas
+ 6
How to convert int to string: int x = Convert.ToInt32(x). You can convert things to strings with this: string x = Convert.ToString(x) I think you can guess how to convert things to float, char, etc. *Note: only add the 32 to things converting to an int.
14th Feb 2024, 11:57 AM
ThunderHawk
ThunderHawk - avatar
0
Ok thanks
14th Feb 2024, 4:59 PM
B33 GAMING
B33 GAMING - avatar