Answers for "how to define that a string is 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 define that a string is number"

Browse Popular Code Answers by Language