DRAFTThis page is not published. Only visible in development mode.
text module

text::format_bytes_si

Format a byte count as a human-readable string using SI units (KB, MB, GB).

Syntax

RQL

Parameters

NameTypeDescription
bytesIntegerThe byte count to format.

Return Value

Returns a Utf8 representing the byte count in human-readable SI units (KB, MB, GB).

Examples

$ Format bytes (SI)
$ ctrl+enter to run

Related Functions