Sprinkler Irrigation Calculator

function calculateTotal() { //Calculator 1 sf1 = ($("#sf1").val()); sp1 = ($("#sp1").val()); ls1 = ($("#ls1").val()); let precipitation = Math.round(96.3 * sf1 / sp1 / ls1 * 1000) / 1000; let total = Math.round(43560 * sf1 / sp1 / ls1 *10) /10; $("#total_value").text(total); $("#precipitation").text(precipitation); //Calculator 2 sp2 = ($("#sp2").val()); ls2 = ($("#ls2").val()); pr2 = ($("#pr2").val());
Subscribe to