diff --git a/fileinfo.ts b/fileinfo.ts index b0477d8..acd6ce5 100644 --- a/fileinfo.ts +++ b/fileinfo.ts @@ -25,6 +25,8 @@ const file = function formatSize(size: number): string { return formatBytes(size, { binary: true, + minimumFractionDigits: 1, + maximumFractionDigits: 1, }) .replace(" ", "") .replace("i", "");