From 828374e31ea540d0b23bef58cac0292a5c17418a Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Wed, 14 May 2025 15:55:43 +0200 Subject: [PATCH] re-introduced the fixed point so that it's cleaner and more aligned --- public/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/index.js b/public/js/index.js index 7a56e0e..fe27d9b 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -60,7 +60,7 @@ document.getElementById("upload-btn").onclick = async () => { idCell.textContent = id; commentCell.innerHTML = `${info["proposed_comment"]}`; - scoreCell.textContent = info["max_bleu_score"]; + scoreCell.textContent = info["max_bleu_score"].toFixed(2); }); };