Skip to content

Commit

Permalink
feat: revert rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlmaier committed Nov 20, 2024
1 parent f8266d3 commit 2cd8d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/Helper/Currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static function format(float|int $amount, string $currencyCode, string $l
return $formatter->formatCurrency($amount, $currencyCode);
}

public static function round(float $value, $precision = 1): float
public static function round(float $value, $precision = 2): float
{
return round(
num: $value,
Expand Down

0 comments on commit 2cd8d8f

Please sign in to comment.