only use M.Nk format for hand numbers > 10000
This commit is contained in:
parent
6026d5bcb3
commit
0ea95363fa
|
@ -248,7 +248,7 @@ def n(stat_dict, player):
|
||||||
# If sample is large enough, use X.Yk notation instead
|
# If sample is large enough, use X.Yk notation instead
|
||||||
_n = stat_dict[player]['n']
|
_n = stat_dict[player]['n']
|
||||||
fmt = '%d' % _n
|
fmt = '%d' % _n
|
||||||
if _n >= 1000:
|
if _n >= 10000:
|
||||||
k = _n / 1000
|
k = _n / 1000
|
||||||
c = _n % 1000
|
c = _n % 1000
|
||||||
_c = float(c) / 100.0
|
_c = float(c) / 100.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user