Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Finds whether the type of a variable is float
Alias is_double
<?php is_float(mixed $value): bool
<?php     public function quote($value, $type = ParameterType::STRING)

    {

        if (is_int($value) || is_float($value)) {

            return $value;

        }
<?php             return $value;

        }



        if (is_float($value)) {

            return sprintf('%F', $value);

        }
<?php     {



        if (PHP_VERSION_ID >= 80100 && is_float($value)) {

            return (string) $value;

        }