Percentage calculation

Hi, I have a dynamic page where it shows a collection. I am preparing some discounts and what I need to do is calculate a discount percentage from the list price and show it in the repeater. The value of the list price and the percentage of the discount are two fields of the collection database. How can I do? Thanks for your help