From 2c4920db2dd1580978f5bd067b6415de5b760ead Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 3 Oct 2015 22:31:55 +0200 Subject: [PATCH] Fix amount thing. --- resources/twig/budgets/show.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/twig/budgets/show.twig b/resources/twig/budgets/show.twig index fe73f71354..92312c715b 100644 --- a/resources/twig/budgets/show.twig +++ b/resources/twig/budgets/show.twig @@ -79,7 +79,7 @@ {% else %} {% set amount = rep.amount %} - {% set pct = (amount != 0 ? spentInRep / amount)*100 : 0) %} + {% set pct = (amount != 0 ? ((spentInRep / amount)*100) : 0) %}