don't display decimals for yen 0uo
This commit is contained in:
parent
f36dc353df
commit
0e34ead855
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class YahooAuctionsItem:
|
||||||
self.updating = False
|
self.updating = False
|
||||||
|
|
||||||
def price_jpy(self):
|
def price_jpy(self):
|
||||||
return f"¥{self.price:.2f}"
|
return f"¥{self.price:.0f}"
|
||||||
|
|
||||||
def price_aud(self, rate = 75.0):
|
def price_aud(self, rate = 75.0):
|
||||||
return f"${self.price / rate:.2f}"
|
return f"${self.price / rate:.2f}"
|
||||||
|
|
Loading…
Reference in a new issue