Skip to Content
gnux

--from-unit

Specify the input unit size (instead of the default 1).

An option of numfmtx.

Usage

numfmtx --from-unit=string [NUMBER]...

Details

ShortLongValueDefaultMeaning
--from-unitstringspecify the input unit size (instead of the default 1)

Examples

Convert kilobyte counts, as dfx prints them, to bytes

echox 512 | numfmtx --from-unit=1024
Output
524288

Help in the terminal

gnux help numfmtx --from-unit

On this page