strval
#5

You can make one, try this for example:
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;
}
Use this to check if a string is numeric.
Reply


Messages In This Thread
strval - by Fergy - 19.03.2013, 20:53
Re: strval - by ReVo_ - 19.03.2013, 20:54
Re: strval - by Bakr - 19.03.2013, 20:55
Re: strval - by Fergy - 19.03.2013, 20:55
Re: strval - by Jstylezzz - 19.03.2013, 20:57
Re: strval - by Fergy - 19.03.2013, 21:01
Re: strval - by LarzI - 19.03.2013, 22:01
Re: strval - by mastermax7777 - 19.03.2013, 22:03

Forum Jump:


Users browsing this thread: 8 Guest(s)