public static String formatLength(long length) {
		NumberFormat formatter = SIZE_FORMAT_THREAD_LOCAL.get();
		if (length < 1000) {
			return length + "B";
		}
		else if (length < 1000000) {
			return formatter.format((length / 1000f)) + "KB";
		}

		return formatter.format((length / 1000000f)) + "MB";
	}
Returns a human readable string representing the length of something in bytes.
<p>
Larger sizes are represented in rounded off kilo and mega bytes.
<p>
TODO: why is the method using 1000 vs. 1024 for K?

@param length the length to format
@return pretty string - "1.1KB", "5.0MB"
Ghidra/Framework/Utility/src/main/java/utilities/util/FileUtilities.java