Rectangular Tank Calculator

<script language="JavaScript"> </script> <script language = JavaScript> var newtext=""; var prnttext= new Array(); var numin=0; var sigfig=4; var stp=0; var stpt=1; var stpmem=1; var labl =new Array("Inches", "Feet", " Meters", "cm"); var labl2=new Array("US gallons", " US gallons", "Liters", "Liters"); var labl3=new Array("Water Pounds", "Water Pounds", "Water Kilograms", "Water Kilograms"); var spcs=new Array("", " ", "   ", "       ", "               ","                               ") var numout=""; var ans1="";var ans2="";var ans3="";var ans4="";var ans5="";var ans6="";var ans7=""; var spc=""; var spc2=""; var spc3=" = = = " var sp6=" "; var brk="
" var prg="

" var print2=""; var sw=0; var hgt=0; var lev=0; var len=0; var wid=0; var wgt=0; var ansr = new Array(); var rng=0; var voltotal=0; var volhalf=0; var volliq=0; var volair=0; var pcliq=0; var pcair=0; var conv=0; var cnv2=new Array(8.34540445202, 8.34540445202, 1, 1); </script> <script language = JavaScript> function erase(){ document.boxes.s0a.value=""; document.boxes.s1a.value=""; document.boxes.s2a.value=""; document.boxes.s3a.value=""; document.boxes.s4a.value=""; document.boxes.s5a.value=""; document.boxes.s6a.value=""; } </script> <script language = JavaScript> function calc(boxes) {stp=1; sigfig=document.box.b9.value -1; spc2=sp6; lev=0;len=0;wid=0;hgt=0; if(sw==0){document.boxes.s10a.value="Cubic Inches";document.boxes.s10b.value="Gallons";document.boxes.s10d.value="Water (Pounds)"; conv=0.00432900397220055}; if(sw==1){document.boxes.s10a.value="Cubic Feet";document.boxes.s10b.value="Gallons";document.boxes.s10d.value="Water (Pounds)"; conv=7.480518863962546}; if(sw==2){document.boxes.s10a.value="Cubic Meters";document.boxes.s10b.value="Liters";document.boxes.s10d.value="Water (Kg)"; conv=1000}; if(sw==3){document.boxes.s10a.value="Cubic Centimeters";document.boxes.s10b.value="Liters";document.boxes.s10d.value="Water (Kg)"; conv=.001}; lev=eval(document.boxes.s0a.value); hgt=eval(document.boxes.s1a.value); wid=eval(document.boxes.s2a.value); len=eval(document.boxes.s3a.value); voltotal=hgt*wid*len; volliq=lev*wid*len; volair=voltotal-volliq; pcliq=100*(volliq/voltotal); pcair=100-pcliq; ansr[1]=volliq; ansr[2]=volliq*conv; ansr[3]=pcliq; ansr[4]=volair; ansr[5]=volair*conv; ansr[6]=pcair; ansr[7]=voltotal; ansr[8]=voltotal*conv; ansr[9]=lev*wid*len*conv*cnv2[sw]; ansr[10]=voltotal*conv*cnv2[sw]; ct=1; if (sigfig>-1){ while(ct<11){ ansr[ct]=ansr[ct].toExponential(sigfig); if (ansr[ct]>.001 && ansr[ct]<1000){ansr[ct]=ansr[ct]*1}; ct=ct+1} } document.boxes.s4a.value=""+ ansr[1]; document.boxes.s4b.value=""+ ansr[2]; document.boxes.s4c.value=""+ ansr[3]; document.boxes.s4d.value=""+ ansr[9]; document.boxes.s5a.value=""+ ansr[4]; document.boxes.s5b.value=""+ ansr[5]; document.boxes.s5c.value=""+ ansr[6]; document.boxes.s5d.value=" *********"; document.boxes.s6a.value=""+ ansr[7]; document.boxes.s6b.value=""+ ansr[8]; document.boxes.s6d.value=""+ ansr[10]; } </script>

>>
>>
>>
>>
The numbers input above are in which units?
or or or



Significant Figures >>>
Buy A Calculator On Amazon
var newtext="";
var prnttext= new Array();
var numin=0;
var sigfig=4;
var stp=0;
var stpt=1;
var stpmem=1;
var labl =new Array("Inches", "Feet", " Meter