Skip to content

Commit f5235cb

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents ee830e0 + f12a3bb commit f5235cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Helpers/Helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ public static function formatCurrencyOutput($cost)
123123
if (is_numeric($cost)) {
124124

125125
if (Setting::getSettings()->digit_separator=='1.234,56') {
126-
return number_format($cost, 2, ',', '.');
126+
return (float) number_format($cost, 2, ',', '.');
127127
}
128-
return number_format($cost, 2, '.', ',');
128+
return (float) number_format($cost, 2, '.', ',');
129129
}
130130
// It's already been parsed.
131131
return $cost;

0 commit comments

Comments
 (0)