Skip to Content
gnux

--suffix

Add SUFFIX to output numbers, and accept optional SUFFIX in input numbers.

An option of numfmtx.

Usage

numfmtx --suffix=SUFFIX [NUMBER]...

Details

ShortLongValueDefaultMeaning
--suffixSUFFIXadd SUFFIX to output numbers, and accept optional SUFFIX in input numbers

Examples

Add a unit and pad the numbers to a column

numfmtx --to=iec --suffix=B --padding=7 1024 2048000
Output
  1.0KB
  2.0MB

Help in the terminal

gnux help numfmtx --suffix

On this page