Menu
I have a small function that I am not sure how to proceed with..
I have four values of which I want the average of the middle two values
Something like this;
[code]
document.menter.Final.value = ( j1 + j2 + j3 + j4 – max (j1,j2,j3,j4) -min (j1,j2,j3,j4) ) /2 ;
But as I understand it the min max functions only work with two values. So I am not sure how to do this. Thanks for your assistance.