--from-unit
Specify the input unit size (instead of the default 1).
An option of numfmtx.
Usage
numfmtx --from-unit=string [NUMBER]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--from-unit | string | specify the input unit size (instead of the default 1) |
Examples
Convert kilobyte counts, as dfx prints them, to bytes
echox 512 | numfmtx --from-unit=1024524288Help in the terminal
gnux help numfmtx --from-unit