note 102743 deleted from function.is-float by danbrown

[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.