hi this is my code for Percentage for the price of a product:
def get_discounted_malile_price(self):
result = int(self.price - (self.price * (self.discount / 100)))
round_result = round(result, 3)
return round_result
i have add , for result number ,for example(1936000 -> 193.600.0) I would appreciate it if someone could help me.