[PHP] number function

2003-03-20 Thread pei_world
anyone how to write a good number valid function?
regonise numbers like: real int





--
Sincerely your;

pei_world ( .::IT::. )








-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] number function

2003-03-20 Thread Leif K-Brooks
http://www.php.net/manual/en/function.is-numeric.php

pei_world wrote:

anyone how to write a good number valid function?
regonise numbers like: real int




--
Sincerely your;
pei_world ( .::IT::. )







 

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] number function

2003-03-20 Thread Chris Shiflett
--- Leif K-Brooks [EMAIL PROTECTED] wrote:
 http://www.php.net/manual/en/function.is-numeric.php

Also, make sure you read that manual page Leif is giving. Some people are
confused at the outcome of tests like these:

is_numeric('3,333.33')
is_numeric('3e3')
is_numeric(' -3e-3')

Chris

=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php