Answers for "if string is equal to any 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 "if string is equal to any number"

Browse Popular Code Answers by Language