New course! Every coder should learn Generative AI!
Try a free lesson0
How to convert a string x="172" into int?
Convert Using string functions
2 Answers
+ 1
You have yo parse the value, it depends on the language that u are using.
0
In c# using Convert.ToInt32(x)