Problem - "IsNum"
#3

Um, is it the same as IsNumeric?

Not sure, but here is the IsNumeric

pawn Код:
IsNumeric(const string[])
{
    for (new i = 0, j = strlen(string); i < j; i++)
    {
        if (string[i] > '9' || string[i] < '0') return 0;
    }
    return 1;
}
Reply


Messages In This Thread
Problem - "IsNum" - by Ed2ka49 - 04.08.2010, 17:10
Re: Problem - "IsNum" - by Mimic - 04.08.2010, 17:12
Re: Problem - "IsNum" - by [L3th4l] - 04.08.2010, 17:14
Re: Problem - "IsNum" - by Ed2ka49 - 04.08.2010, 17:16
Re: Problem - "IsNum" - by Mimic - 04.08.2010, 17:18
Re: Problem - "IsNum" - by Ed2ka49 - 04.08.2010, 17:19
Re: Problem - "IsNum" - by Daren_Jacobson - 04.08.2010, 17:56
Re: Problem - "IsNum" - by ScottCFR - 04.08.2010, 17:56
Re: Problem - "IsNum" - by Ed2ka49 - 04.08.2010, 18:02

Forum Jump:


Users browsing this thread: 1 Guest(s)