note 102743 deleted from function.is-float by danbrown
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
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