From c18a215c4450829e3f9711a20a67aa31e25ecf8b Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 24 Feb 2019 12:38:25 -0800 Subject: [PATCH] Revert back to displaying decimal number instead of whole --- front/static/js/viewHistory.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/front/static/js/viewHistory.js b/front/static/js/viewHistory.js index 6e0a949..966a2ef 100644 --- a/front/static/js/viewHistory.js +++ b/front/static/js/viewHistory.js @@ -498,12 +498,6 @@ function displayReport(parsedData){ cardBody.appendChild(p1); } } - else if(field.field_type == "decimal") - { - p1Value = document.createTextNode(field.label + ": " + Math.trunc(field.value)); - p1.appendChild(p1Value); - cardBody.appendChild(p1); - } else if(field.value == "") { p1Value = document.createTextNode(field.label + ": " + "None");