--round
Use METHOD for rounding when scaling; METHOD can be: up, down, from-zero (default), towards-zero, nearest.
An option of numfmtx.
Usage
numfmtx --round=METHOD [NUMBER]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--round | METHOD | use METHOD for rounding when scaling; METHOD can be: up, down, from-zero (default), towards-zero, nearest |
Examples
Round sizes down, never overstating them
numfmtx --to=si --round=down 19991.9kHelp in the terminal
gnux help numfmtx --round