More decimals for Plato

Thu, 04 Jun 2020 13:08:10 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 04 Jun 2020 13:08:10 +0200
changeset 699
4d5f3e9f7744
parent 698
c7b4cb53b37c
child 700
89b7449d1fd9

More decimals for Plato

www/js/mon_ispindel.js file | annotate | diff | comparison | revisions
--- a/www/js/mon_ispindel.js	Wed Jun 03 21:02:57 2020 +0200
+++ b/www/js/mon_ispindel.js	Thu Jun 04 13:08:10 2020 +0200
@@ -158,9 +158,9 @@
     console.log ('set max ' + max);
     $('#gaugeContainer_gravity').jqxLinearGauge({ max: max });
     $('#vg_og1').html(og.toFixed(4));
-    $('#vg_og2').html(record.og_gravity.toFixed(1) + '&deg;P');
+    $('#vg_og2').html(record.og_gravity.toFixed(3) + '&deg;P');
     $('#vg_sg1').html(sg.toFixed(4));
-    $('#vg_sg2').html(record.gravity.toFixed(1) + '&deg;P');
+    $('#vg_sg2').html(record.gravity.toFixed(3) + '&deg;P');
     $('#vg_svg').html(svg.toFixed(1) + '%');
     $('#vg_abv').html(abvol(og, sg).toFixed(2) + '%');
    } else {
@@ -211,7 +211,7 @@
 
  $('#info_battery').jqxNumberInput(Show3dec);
  $('#info_tilt').jqxNumberInput(Show5dec);
- $('#info_plato').jqxNumberInput(Show2dec);
+ $('#info_plato').jqxNumberInput(Show3dec);
  $('#info_sg').jqxNumberInput(Show4dec);
 
  $('#gaugeContainer_temperature').jqxGauge(gaugeoptionst);

mercurial