diff --git a/src/js/utilsFC.js b/src/js/utilsFC.js
index d76b071ae605e4c5f207ec39dca09c0db0e3a479..cc1f4d7f9477d81adc1149f9655c1445ad381917 100644
--- a/src/js/utilsFC.js
+++ b/src/js/utilsFC.js
@@ -1231,14 +1231,25 @@ window.asDateString = function(weeks = null, bonusDay = 0) {
  * @returns {string}
  */
 window.cashFormat = function(s) {
+	if (s < 0) {
+		return `-¤${commaNum(Math.abs(s))}`;
+	}
 	return `¤${commaNum(s)}`;
 };
 window.cashFormatColor = function(s, invert = false) {
+	if (invert) {
+		s = -1*s;
+	}
 	// Display red if the value is negative, unless invert is true
-	if ((s > 0) === invert) {
+	if (s < 0) {
 		return `<span class='red'>${cashFormat(s)}</span>`;
+	// White for exactly zero
+	} else if (s === 0 ) {
+		return `<span>${cashFormat(s)}</span>`;
+	// Yellow for positive
+	} else {
+		return `<span class='yellowgreen'>${cashFormat(s)}</span>`;
 	}
-	return `<span class='yellowgreen'>${cashFormat(s)}</span>`;
 };
 
 /**
@@ -1334,28 +1345,14 @@ window.budgetLine = function(category, title) {
 		return `<<if ${income}.${category} || ${expenses}.${category} || $showAllEntries.costsBudget>><tr>\
 		<td>${title}</td>\
 		<td>\
-			<<if (${income}.${category}) > 0>>\
-				<span class="yellowgreen"><<print cashFormat(${income}.${category})>></span> /*please don't put a plus sign in front of income, it's not done on a budget sheet. Safe to assume money is money unless it's in parenthesis or with a - sign.*/
-			<<else>>\
-				<<print cashFormat(${income}.${category})>>\
-			<</if>>\
+			<<print cashFormatColor(${income}.${category})>>
 		</td>\
 		<td>\
-			<<if (${expenses}.${category}) < 0>>\
-				<span class="red">-<<print cashFormat(Math.abs(${expenses}.${category}))>></span>\
-			<<else>>\
-				<<print cashFormat(${expenses}.${category})>>\
-			<</if>>\
+			<<print cashFormatColor(-Math.abs(${expenses}.${category}))>>\
 		</td>\
 		<<set ${profits}.${category} = (${income}.${category} + ${expenses}.${category})>>\
 		<td>\
-			<<if (${profits}.${category}) > 0>>\
-				<span class="yellowgreen"><<print cashFormat(${profits}.${category})>></span>
-			<<elseif (${profits}.${category}) < 0>>\
-				<span class="red">-<<print cashFormat(Math.abs(${profits}.${category}))>></span>
-			<<else>>\
-				<<print cashFormat(${profits}.${category})>>\
-			<</if>>\
+			<<print cashFormatColor(${profits}.${category})>>
 		</td>\
 		</tr><</if>>`;
 	}