Front desk give me weight and volume of two parameters, how much do I have to calculated the volume of 1 ton is cubic meters (quality), then there is a price list and prices of different "quality", and then put the final price and the price calculated in section again returned to the front desk, according to a database stored procedure should be how to write?