mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
Update ease.ts
This commit is contained in:
parent
148153dcdb
commit
c637126c7c
1 changed files with 2 additions and 2 deletions
|
@ -106,8 +106,8 @@ export function prepareData(
|
||||||
const xTickFormat = (num: number): string => localizedNumber(num, 0) + "%";
|
const xTickFormat = (num: number): string => localizedNumber(num, 0) + "%";
|
||||||
const tableData = [
|
const tableData = [
|
||||||
{
|
{
|
||||||
label: tr.statisticsAverageEase(),
|
label: tr.statisticsMedianEase(),
|
||||||
value: xTickFormat(sum(Array.from(allEases.entries()).map(([k, v]) => (k + 2.5) * v)) / total),
|
value: xTickFormat(data.average),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue