Skip to content

Firefly III: a personal finances manager

Fix #2626

James Cole845ae942522b
diff --git a/app/Http/Controllers/Budget/IndexController.php b/app/Http/Controllers/Budget/IndexController.php
index 278fef5e1d..7205e8d3c2 100644
--- a/app/Http/Controllers/Budget/IndexController.php
+++ b/app/Http/Controllers/Budget/IndexController.php
@@ -167,7 +167,7 @@ class IndexController extends Controller
$currency = $limit->transactionCurrency ?? $defaultCurrency;
$array['budgeted'][] = [
'id' => $limit->id,
- 'amount' => $limit->amount,
+ 'amount' => round($limit->amount, $currency->decimal_places),
'currency_id' => $currency->id,
'currency_symbol' => $currency->symbol,
'currency_name' => $currency->name,