Answers for "how to convert if string have number"

C++
0

check if string can be a number and then make a number

if(Number(myNumber) != NaN){
	myNumber = Number(myNumber);
}
Posted by: Guest on January-22-2021

Code answers related to "how to convert if string have number"

Browse Popular Code Answers by Language