From 0e34ead8551200a1c452e5e65aca2a925bf2a052 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 23 Aug 2020 22:40:20 +1000 Subject: [PATCH] don't display decimals for yen 0uo --- listing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listing.py b/listing.py index 84027af..17d2efd 100644 --- a/listing.py +++ b/listing.py @@ -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}"