don't display decimals for yen 0uo

This commit is contained in:
Lynne Megido 2020-08-23 22:40:20 +10:00
parent f36dc353df
commit 0e34ead855
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90

View File

@ -106,7 +106,7 @@ class YahooAuctionsItem:
self.updating = False
def price_jpy(self):
return f"¥{self.price:.2f}"
return f"¥{self.price:.0f}"
def price_aud(self, rate = 75.0):
return f"${self.price / rate:.2f}"