Added buffered getter

This commit is contained in:
Sam Potts
2018-03-17 23:27:40 +11:00
parent 5cb1628cd8
commit 5db73b1327
19 changed files with 7598 additions and 1092 deletions

View File

@ -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);
},