www/mon_fermenter.php

changeset 40
b825c675987d
parent 16
522022b4fae4
child 180
a5aa3502310c
--- a/www/mon_fermenter.php	Tue Aug 28 11:30:42 2018 +0200
+++ b/www/mon_fermenter.php	Tue Aug 28 20:54:53 2018 +0200
@@ -128,10 +128,10 @@
 	  $("#gaugeContainer_chiller").jqxGauge({ disabled: true });
 	}
 
-	html  = "<div>SpH <span class='temperature NUM'>" + record.setpoint_high + "</span></div>";
-	html += "<div>SpL <span class='temperature NUM'>" + record.setpoint_low + "</span></div>";
-	html += "<div>Air <span class='temperature NUM'>" + record.air_temperature + "</span></div>";
-	html += "<div>Beer <span class='temperature NUM'>" + record.beer_temperature + "</span></div>";
+	html  = "<div>SpH <span class='temperature NUM'>" + record.setpoint_high.toFixed(1) + "</span></div>";
+	html += "<div>SpL <span class='temperature NUM'>" + record.setpoint_low.toFixed(1) + "</span></div>";
+	html += "<div>Air <span class='temperature NUM'>" + record.air_temperature.toFixed(3) + "</span></div>";
+	html += "<div>Beer <span class='temperature NUM'>" + record.beer_temperature.toFixed(3) + "</span></div>";
 	$("#fermenter_tempdigits").html(html);  
       }
     });

mercurial