Skip to content
Snippets Groups Projects
Commit 5506b64f authored by Quentin Bramas's avatar Quentin Bramas
Browse files

move rarankToABC into a different file

parent d87aa161
Branches master
No related merge requests found
export default function (rank: number, total: number)
{
rank /= total;
if (rank <= 0.01) return "A*";
if (rank <= 0.05) return "A";
if (rank <= 0.25) return "B";
return "C";
}
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