code cleanup

This commit is contained in:
Joel Male
2024-08-16 14:55:54 +10:00
parent 85ae0c30c5
commit 24f64e712c
6 changed files with 13 additions and 19 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ public static function formatValue($value, $formatNumber, $config)
if ($formatNumber || $config['format_numbers']) {
return floatval(number_format($value, $config['decimals'], $config['dec_point'], $config['thousands_sep']));
} else {
return $value;
return floatval($value);
}
}
}