Talk:Discount function