www/js/prod_new.js

changeset 243
b43214d218c0
parent 240
a85c1d4c4d12
child 254
3d61397fe9cd
--- a/www/js/prod_new.js	Mon Feb 04 20:56:44 2019 +0100
+++ b/www/js/prod_new.js	Tue Feb 05 21:55:22 2019 +0100
@@ -266,7 +266,7 @@
 					eq_tun_weight: parseFloat($("#eq_tun_weight").jqxNumberInput('decimal')),
 					eq_tun_specific_heat: parseFloat($("#eq_tun_specific_heat").jqxNumberInput('decimal')),
 					eq_tun_material: tun_material,
-					eq_tun_height: parseFloat($("#eq_tun_height").jqxNumberInput('decimal')),
+					eq_tun_height: parseFloat($("#eq_tun_height").jqxNumberInput('decimal')) / 100,
 					eq_top_up_water: parseFloat($("#eq_top_up_water").jqxNumberInput('decimal')),
 					eq_trub_chiller_loss: parseFloat($("#eq_trub_chiller_loss").jqxNumberInput('decimal')),
 					eq_evap_rate: parseFloat($("#eq_evap_rate").jqxNumberInput('decimal')),
@@ -276,10 +276,10 @@
 					eq_hop_utilization: parseFloat($("#eq_hop_utilization").jqxNumberInput('decimal')),
 					eq_notes: $("#eq_notes").val(),
 					eq_lauter_volume: parseFloat($("#eq_lauter_volume").jqxNumberInput('decimal')),
-					eq_lauter_height: parseFloat($("#eq_lauter_height").jqxNumberInput('decimal')),
+					eq_lauter_height: parseFloat($("#eq_lauter_height").jqxNumberInput('decimal')) / 100,
 					eq_lauter_deadspace: parseFloat($("#eq_lauter_deadspace").jqxNumberInput('decimal')),
 					eq_kettle_volume: parseFloat($("#eq_kettle_volume").jqxNumberInput('decimal')),
-					eq_kettle_height: parseFloat($("#eq_kettle_height").jqxNumberInput('decimal')),
+					eq_kettle_height: parseFloat($("#eq_kettle_height").jqxNumberInput('decimal')) / 100,
 					eq_mash_volume: parseFloat($("#eq_mash_volume").jqxNumberInput('decimal')),
 					eq_mash_max: parseFloat($("#eq_mash_max").jqxNumberInput('decimal')),
 					eq_efficiency: parseFloat($("#eq_efficiency").jqxNumberInput('decimal')),

mercurial