Re: number function
| From: | Chris Shiflett | Date: | Thu, 20 Mar 2003 23:11:10 +0000 |
| Subject: | Re: number function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140502@lists.php.net to get a copy of this message | ||
--- Leif K-Brooks <eurleif@buyer-brokerage.com> 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/