make acc chart 3 places
All checks were successful
Deploy Website / deploy (push) Successful in 5m19s

This commit is contained in:
Lee 2024-10-11 20:20:06 +01:00
parent 306269f1f9
commit 6cd141544c
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ const datasetConfig: DatasetConfig[] = [
displayName: "Average Ranked Accuracy",
position: "left",
},
labelFormatter: (value: number) => `Average Ranked Accuracy ${value.toFixed(4)}%`,
labelFormatter: (value: number) => `Average Ranked Accuracy ${value.toFixed(3)}%`,
},
];

View File

@ -55,7 +55,7 @@ const renderChange = (player: ScoreSaberPlayer, type: "rank" | "countryRank" | "
if (value == 0) {
return 0;
}
return type == "pp" ? formatPp(value) : formatNumberWithCommas(value);
return type == "pp" ? formatPp(value) + "pp" : formatNumberWithCommas(value);
};
return (