formatReadableDecimalSize()

Converts integer to a human-readable representation using units based on powers of 10 (KB, MB, GB, etc.).

Reference: DuckDB 2.0.0

Arguments & returns

formatReadableDecimalSize(integer)

Scalar
Overload link integer Returns
#01 BIGINT VARCHAR

Example

formatReadableDecimalSize example
SQL
Haybarn WASM 2.0.0-rc12 · In your browser

Engine example · Run to view results.