The is_callable() function is used to detect whether a variable is of floating point type.
Alias functions: is_double(), is_real().
Note: If you want to test whether a variable is a number or a string of numbers (such as form inputs, which are usually strings), you must use is_numeric() .
PHP version requirements: PHP 4, PHP 5, PHP 7
bool is_float (mixed $var)
Parameter description:
$var: The variable to be tested.
Returns TRUE if the specified variable is a float, otherwise returns FALSE.
The output is:
This is a floating point value bool(false)bool(false)bool(false)bool(false)