added real number and calculated the net price of a product