+ 1
How to convert object to integer
To insert in datatable
5 ответов
0
In javascript use parseInt(yourString); yourString should be a number string.
0
in wich languaje do you wanna do it?
I tried it in js, and you could convert a string to integer by multiplying it by 1 (in case that the string contains just numbers in it).
0
in python you can surround a string like this: int(“9876”) will turn it into an integer.
0
just use a type cast
0
I need information on nuclear physics