[REP++] Check if string is number or not number
#2

I'm gonna say IsNumeric and if it makes your server crash you're using it wrong. Alternatively you may use sscanf with quiet specifiers.
PHP код:
IsNumeric(string[]) return !sscanf(string"{d}"); 
Reply


Messages In This Thread
[REP++] Check if string is number or not number - by buburuzu19 - 18.02.2016, 16:13
Re: [REP++] Check if string is number or not number - by Vince - 18.02.2016, 16:18

Forum Jump:


Users browsing this thread: 3 Guest(s)