Working on an &#039UPS shipping&#039 page. There are two instances of calculating shipping using components. I am trying to eliminate the second calculation for redundancy reasons and use the same function for both. However, I keep getting a &#039type mismatch&#039 error on the final calculation. Perhaps I&#039m trying to pass too many or not enough values into the function. Is there a way to store the first calculation and then retrieve that number for the final cost? Any ideas are appreciated. Thanks