From 445ece14cf5b3138fc2f93866f86428fa20f22a2 Mon Sep 17 00:00:00 2001 From: Yelin Jeong Date: Mon, 7 Oct 2024 15:19:09 +0900 Subject: [PATCH] [Tizen/web] Use only 3 digits after decimal point This patch removes meaningless dicimal points. Signed-off-by: Yelin Jeong --- Tizen.web/ImageClassificationOffloading/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tizen.web/ImageClassificationOffloading/js/main.js b/Tizen.web/ImageClassificationOffloading/js/main.js index 56c66369..b06a8ef1 100644 --- a/Tizen.web/ImageClassificationOffloading/js/main.js +++ b/Tizen.web/ImageClassificationOffloading/js/main.js @@ -75,7 +75,7 @@ function sinkListenerCallback(sinkName, data) { label.innerText = labels[maxIdx]; const time = document.getElementById("time_" + type); - time.innerText = type + " : " + (endTime - startTime) + " ms"; + time.innerText = type + " : " + (endTime - startTime).toFixed(3) + " ms"; } /**