																																																																																																																																																																																			function dec_place(x,n){var number=Math.round(x*Math.pow(10,n))/Math.pow(10,n);}function CalculatePyth(RS,RA,y,form){var A=+(RS);var B=+(RA);var C=+(y);var WP=Math.round((Math.pow(A,C)/(Math.pow(A,C)+Math.pow(B,C))*100)*100)/100;if(Math.abs(A)>=0&&Math.abs(B)>=0&&Math.abs(C)>0){form.wprob.value="The Pythagorean Win Percentage is "+WP+"%";}else{alert('Quit screwin around and put in the right numbers');return;}}function ClearForm(form){form.input_A.value="";form.input_B.value="";form.input_C.value="";form.wprob.value="";}
