Revert back to displaying decimal number instead of whole

This commit is contained in:
Jack 2019-02-24 12:38:25 -08:00
parent 59056b3062
commit c18a215c44

View file

@ -498,12 +498,6 @@ function displayReport(parsedData){
cardBody.appendChild(p1); 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 == "") else if(field.value == "")
{ {
p1Value = document.createTextNode(field.label + ": " + "None"); p1Value = document.createTextNode(field.label + ": " + "None");