How to place a mathematical function in a field
I have the following fields for my product:
NAME(char); MASS(int); PRICE(float); VALUE(float)
What I would like to do is to automatically calculate the total value of the product by multiplying the MASS with the PRICE ((MASS*PRICE)/100) in the VLAUE field. How and where do I place this function?