Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Get float value of a variable
Alias doubleval
<?php floatval(mixed $value): float
<?php             return;

        }



        return floatval($data);

    }



    public function preProcessConfig($data)
<?php     public function preProcessConfig($data)

    {

        return floatval($data);

    }



    public function process($data)
<?php             return;

        }



        return floatval($data);

    }

}
<?php         $dec_point = Arr::get($params, 1, '.');

        $thousands_sep = Arr::get($params, 2, ',');



        $number = floatval(str_replace(',', '', $value));



        return number_format($number, $precision, $dec_point, $thousands_sep);

    }