note 102743 deleted from function.is-float by danbrown
| From: | danbrown@php.net | Date: | Thu, 03 Mar 2011 13:58:16 +0000 |
| Subject: | note 102743 deleted from function.is-float by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177529@lists.php.net to get a copy of this message | ||
Note Submitter: maxjackie at rediff dot com
----
function isfloat ($f) {
$f -= 0;
if (is_float($f)){
return true;
}
return false;
}
you can try this function for any floating number
it will check the value