From 584da84ab8d52cce36406a9beceb8bcbc403abc7 Mon Sep 17 00:00:00 2001 From: partmedia Date: Sat, 3 Aug 2013 00:27:10 +0000 Subject: [PATCH] Improve 'balance' output. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18865 282e977c-c81d-0410-88c4-b93c2d0d6712 --- python/IPO/banksay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/IPO/banksay.py b/python/IPO/banksay.py index 872f16bbb..400e3b711 100644 --- a/python/IPO/banksay.py +++ b/python/IPO/banksay.py @@ -283,7 +283,7 @@ def cmd_balance(argv): if balance != 0: balance /= exchange_rate * 1.0; - message = "You have %2f %s in the bank." % (balance, coinName) + message = "You have %s %s in the bank." % (str(balance), coinName) else: message = "Sorry, you have no balance."