By using this function, we can check that the input value is float or not. This function was introduced in PHP 4.0.
Parameter | Description | Is compulsory |
---|---|---|
var | The variable being evaluated. | compulsory |
The is_float() function returns TRUE if the var_name is float, otherwise false.
Output:
Output:
Output:
It is a configuration setting in php.ini used to specify a total number of digits displayed in floating point number.
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week