formatByteSizeFormat a byte count for display in the largest unit it fills, like 1.5 KB or 10 MButils-formatbytesize3logUtilsindex.jsBytesdecimals is a maximum, so 10 MB never prints as 10.0 MB. Pass unit to hold one unit down a column, iec for KiB/MiB labels, and base: 1000 to match macOS Finder["utils","bytes","formatbytesize","size","format","display","file size"]Example
Categories