diff --git a/src/main/webapp/scripts/views/data-table-cell-ui.js b/src/main/webapp/scripts/views/data-table-cell-ui.js index 167c4699e..2cdc06b0d 100644 --- a/src/main/webapp/scripts/views/data-table-cell-ui.js +++ b/src/main/webapp/scripts/views/data-table-cell-ui.js @@ -98,7 +98,13 @@ DataTableCellUI.prototype._render = function() { .text(candidate.name) .appendTo(li); - $('').addClass("data-table-recon-score").text("(" + Math.round(candidate.score) + ")").appendTo(li); + var score; + if (candidate.score < 1) { + score = Math.round(candidate.score * 1000) / 1000; + } else { + score = Math.round(candidate.score) + } + $('').addClass("data-table-recon-score").text("(" + score + ")").appendTo(li); }; for (var i = 0; i < candidates.length; i++) {