示例#1
0
 def percent_funded(self, force_round_up=False):
     return percentage(self.total_amount(), self.price, force_round_up)
示例#2
0
 def percentage_of_price(self, force_round_up=False):
    return percentage(self.amount, self.item.price, force_round_up)