mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
add decimal point to reviews/day stat
This commit is contained in:
parent
29b0628141
commit
4011fa3084
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ $(function () {
|
|||
def _avgDay(self, tot, num, unit):
|
||||
vals = []
|
||||
try:
|
||||
vals.append(_("%(a)d %(b)s/day") % dict(a=tot/float(num), b=unit))
|
||||
vals.append(_("%(a)0.1f %(b)s/day") % dict(a=tot/float(num), b=unit))
|
||||
return ", ".join(vals)
|
||||
except ZeroDivisionError:
|
||||
return ""
|
||||
|
|
Loading…
Reference in a new issue