Function workflow_utils::format::as_kb
source ยท pub fn as_kb(bytes: f64, si: bool, short: bool) -> StringExpand description
Display KB or KiB if short is false, otherwise if short is true
and the value is greater than 1MB or 1MiB, display units using as_data_size().