aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/utils.js')
-rw-r--r--src/js/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/utils.js b/src/js/utils.js
index 4958627b..37dd6461 100644
--- a/src/js/utils.js
+++ b/src/js/utils.js
@@ -671,6 +671,7 @@ const utils = {
if (current === 0 || max === 0 || Number.isNaN(current) || Number.isNaN(max)) {
return 0;
}
+
return (current / max * 100).toFixed(2);
},