PHP is_double() Function

PHP is_double() Function


The is_double() function is an inbuilt function in PHP which is used to find whether the given value is a double or not.

Syntax:

bool is_double( $variable_name )

Parameters: This function accepts one parameter as mentioned above and described below:

  • $variable_name: This parameter holds the value which need to check.