Whether the string is a number.

If the string variable contains a number, then it returns 1, otherwise it returns 0.

call:

bool result = strisnumber(string str);


Here:

str is a string variable to determine if this is text or a number.