PHP Manual
This manual is provided as a courtesy. It is not an official source. Please check php.net for updated information.
(PHP 3, PHP 4, PHP 5)
Finds whether the given variable is a float.
Note: To test if a variable is a number or a numeric string (such as form input, which is always a string), you must use is_numeric().
The variable being evaluated.
Returns TRUE if var is a float, FALSE otherwise.