public static String byteCountToDisplaySize(long size) {
		String displaySize;
		DecimalFormat format = new DecimalFormat("###0.0");
		if (size / ONE_GB > 0) {
			displaySize = format.format((double) size / ONE_GB) + "GB";
		} else if (size / ONE_MB > 0) {
			displaySize = format.format((double) size / ONE_MB) + "MB";
		} else if (size / ONE_KB > 0) {
			displaySize = format.format((double) size / ONE_KB) + "KB";
		} else {
			displaySize = size + "B";
		}
		return displaySize;
	}
Get the display of the given byte size.

@param size	size
@return display version of the byte size
ngrinder-core/src/main/java/net/grinder/util/UnitUtils.java