This commit is contained in:
Sam Potts
2018-09-25 23:29:43 +10:00
parent d9565e9250
commit 87072cb690
3 changed files with 3 additions and 5 deletions

View File

@ -24,7 +24,7 @@ export function getPercentage(current, max) {
return 0;
}
return (current / max * 100).toFixed(2);
return ((current / max) * 100).toFixed(2);
}
// Replace all occurances of a string in a string