<?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); }