Widget:RimCalc: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
temp = (140 - parseInt($("#input2").val())) * parseInt($("#input1").val()); | temp = (140 - parseInt($("#input2").val())) * parseInt($("#input1").val()); | ||
console.log(temp); | console.log(temp); | ||
temp = temp / ( | temp = temp / (parseFloat($("#input3").val()) * 72); | ||
console.log(temp); | console.log(temp); | ||
if ($("#input4").is(':checked')) { | if ($("#input4").is(':checked')) { |