sale_price=100 dsicount_price=40 // will be sold in 40 formula=(sale_price-dsicount_price)*100 i.e 100-40/100*100=60 % discount