From b23d9f903f69c4fabac3076df41c07e167c91ce1 Mon Sep 17 00:00:00 2001 From: Piyush Mishra Date: Sun, 27 Jun 2021 22:27:32 +0530 Subject: [PATCH] fix --- static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index d0530ae..d9bf1df 100644 --- a/static/index.html +++ b/static/index.html @@ -91,7 +91,7 @@ var fset = $('
'); fset.append($('').append('Temperature')); data.temperature.forEach(e => { - pushin(fset, '→ '+e.label+': ', e.temp +'°C'); + pushin(fset, '→ '+e.label+': ', e.temp.toFixed(2) +'°C'); }); area.append(fset);