From 0ea95363fa299f447f4a17fddaad9c7a97a50186 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Sun, 14 Feb 2010 23:29:20 +0000 Subject: [PATCH] only use M.Nk format for hand numbers > 10000 --- pyfpdb/Stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Stats.py b/pyfpdb/Stats.py index ab92c99f..47d8b9f1 100755 --- a/pyfpdb/Stats.py +++ b/pyfpdb/Stats.py @@ -248,7 +248,7 @@ def n(stat_dict, player): # If sample is large enough, use X.Yk notation instead _n = stat_dict[player]['n'] fmt = '%d' % _n - if _n >= 1000: + if _n >= 10000: k = _n / 1000 c = _n % 1000 _c = float(c) / 100.0