Check if numeric
#3

pawn Код:
stock IsNumeric( string[ ] ) { for (new i = 0, j = strlen( string); i < j; i++) if ( string[i] > '9' || string[i] < '0') return 0; return 1; } // thanks to Calgon from VX:RP
This the same one in YSI?
Reply


Messages In This Thread
Check if numeric - by Anteino - 16.02.2011, 19:07
Re: Check if numeric - by randomkid88 - 16.02.2011, 19:46
Re: Check if numeric - by Hal - 16.02.2011, 19:49
AW: Check if numeric - by thiaZ_ - 16.02.2011, 19:50
Re: AW: Check if numeric - by Hal - 16.02.2011, 19:53
Re: Check if numeric - by Anteino - 16.02.2011, 19:54
Re: Check if numeric - by Calgon - 16.02.2011, 19:57

Forum Jump:


Users browsing this thread: 4 Guest(s)