Commit b75a09ee authored by Vincent Pelletier's avatar Vincent Pelletier

Round instead of truncating apdex.

parent 2cbdb36e
...@@ -235,7 +235,7 @@ class APDEXStats(object): ...@@ -235,7 +235,7 @@ class APDEXStats(object):
'%(extra_right_class)s">%(max).2f</td>' % { '%(extra_right_class)s">%(max).2f</td>' % {
'extra_class': extra_class, 'extra_class': extra_class,
'apdex_style': apdex_style, 'apdex_style': apdex_style,
'apdex': apdex * 100, 'apdex': round(apdex * 100),
'hit': hit, 'hit': hit,
'average_class': getClassForDuration(average, threshold), 'average_class': getClassForDuration(average, threshold),
'average': average, 'average': average,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment