Fix problema allineamento record nelle viste

This commit is contained in:
Fabio Lovato 2020-12-31 12:35:33 +01:00
parent e9a3b266a7
commit bab0e74a0c
1 changed files with 4 additions and 1 deletions

View File

@ -137,7 +137,10 @@ class Formatter
public function formatNumber($value, $decimals = null)
{
$value = trim($value);
$value = floatval($value);
if (is_numeric($value)) {
$value = floatval($value);
}
if (isset($decimals)) {
$original = $this->getPrecision();