Numerous improvements and fixes
This commit is contained in:
+1
-1
@@ -39,4 +39,4 @@ export function formatBytes(bytes, decimals = 2) {
|
||||
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
||||
|
||||
return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + " " + sizes[i];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user