Answers for "can a string be a 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 "can a string be a number"

Browse Popular Code Answers by Language