IsNumeric Problem !! Fast help
#6

Why you aren't write it like this?
PHP код:
stock IsNumeric(const string[])
{
    new 
length strlen(string);
    if(!
length)return 0;
    for(new 
i;i<length;i++)
    {
        if(
string[i] > '9' || string[i] < '0')return 0;
    }
    return 
1;

Your fixed code won't be work. Take mine.
Reply


Messages In This Thread
IsNumeric Problem !! Fast help - by Toxik - 09.05.2015, 17:51
AW: IsNumeric Problem !! Fast help - by Mencent - 09.05.2015, 17:53
Re: IsNumeric Problem !! Fast help - by ihatetn931 - 09.05.2015, 17:54
Re: IsNumeric Problem !! Fast help - by Sawalha - 09.05.2015, 17:54
Re: IsNumeric Problem !! Fast help - by J4Rr3x - 09.05.2015, 17:55
AW: IsNumeric Problem !! Fast help - by Mencent - 09.05.2015, 17:57
Re: IsNumeric Problem !! Fast help - by sammp - 09.05.2015, 18:02
Re: IsNumeric Problem !! Fast help - by SickAttack - 09.05.2015, 18:23
Re: IsNumeric Problem !! Fast help - by Vince - 09.05.2015, 18:27
Re: IsNumeric Problem !! Fast help - by sammp - 09.05.2015, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)