more formatters for UI

This commit is contained in:
andreas committed 2021-11-06 20:57:20 +01:00
1 parent ecad013d09
commit 1e09112e76
3 files changed
+76 -47

No files matched your search

+2
View File
@@ -405,6 +405,8 @@
formatWind: function(v){let x=parseFloat(v); return x.toFixed(0);},
mtr2nm: function(v){let x=parseFloat(v); return x.toFixed(2);},
kelvinToC: function(v){let x=parseFloat(v); return x.toFixed(0);},
formatFixed0: function(v){let x=parseFloat(v); return x.toFixed(0);},
formatDepth: function(v){let x=parseFloat(v); return x.toFixed(1);},
}
function updateDashboard(data){
for (let n in data){