Undo double-float

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-08-18 15:24:15 +01:00
parent 9253d894d3
commit 9b4101855f
+2 -2
View File
@@ -123,9 +123,9 @@ class Helper
if (is_numeric($cost)) {
if (Setting::getSettings()->digit_separator=='1.234,56') {
return (float) number_format($cost, 2, ',', '.');
return number_format($cost, 2, ',', '.');
}
return (float) number_format($cost, 2, '.', ',');
return number_format($cost, 2, '.', ',');
}
// It's already been parsed.
return $cost;