From 7ac433fede89103c91b84447318b2c2f9a0f6105 Mon Sep 17 00:00:00 2001 From: Matt Turnbull Date: Tue, 9 Dec 2008 15:35:16 +0000 Subject: [PATCH] 2 decimal places for rake --- pyfpdb/HandHistoryConverter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/HandHistoryConverter.py b/pyfpdb/HandHistoryConverter.py index 5e6804c5..63b51bb0 100644 --- a/pyfpdb/HandHistoryConverter.py +++ b/pyfpdb/HandHistoryConverter.py @@ -391,7 +391,7 @@ Known bug: doesn't take into account side pots""" print "what do they show" print "*** SUMMARY ***" - print "Total pot $%s | Rake $%s)" % (self.totalpot, self.rake) + print "Total pot $%s | Rake $%.2f)" % (self.totalpot, self.rake) # TODO side pots print "Board [%s %s %s %s %s]" % (self.streets.group("FLOP1"), self.streets.group("FLOP2"), self.streets.group("FLOP3"), self.streets.group("TURN1"), self.streets.group("RIVER1")) #print self.board