From adff17d735b1cb50125d556bd531e478a8640bf6 Mon Sep 17 00:00:00 2001 From: moneromooo Date: Mon, 22 Dec 2014 20:46:58 +0000 Subject: [PATCH] Replace another %.16f with AmountToString --- tipbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tipbot.py b/tipbot.py index fc5bded..5e0db17 100644 --- a/tipbot.py +++ b/tipbot.py @@ -242,7 +242,7 @@ def Tip(nick,data): SendTo(sendto, "Invalid amount") return if units > balance: - SendTo(sendto, "You only have %.16g" % (balance / 1e12)) + SendTo(sendto, "You only have %s" % (AmountToString(balance))) return log_info('Tip: %s tipping %s %u units, with balance %u' % (nick, who, units, balance)) try: