isnumeric
#1

Код:
stock IsNumeric(const string[])
{
	for (new i = 0, j = strlen(string); i < j; i++)
	{
    	if (string[i] > '9' || string[i] < '0') return 0;
	}
	return 1;
}
how make this code to check float numbers?
Reply


Messages In This Thread
isnumeric - by speed258 - 15.02.2013, 08:51
Re: isnumeric - by Vince - 15.02.2013, 08:55
Re: isnumeric - by speed258 - 15.02.2013, 09:02

Forum Jump:


Users browsing this thread: 1 Guest(s)