formatReadableSize()

Converts integer to a human-readable representation using units based on powers of 2 (KiB, MiB, GiB, etc.).

Alias of format_bytes()

Arguments & returns

formatReadableSize(integer)

Scalar
Overload link integer Returns
#01 BIGINT VARCHAR

Example

formatReadableSize example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.