is_float

Example

 bool is_float ( mixed $var ) 

Description

Finds whether the type of the given variable is 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().

Return Values

Returns TRUE if var is a float, FALSE otherwise.