--format
Use printf style floating-point FORMAT; see FORMAT below for details.
An option of numfmtx.
Usage
numfmtx --format=FORMAT [NUMBER]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--format | FORMAT | use printf style floating-point FORMAT; see FORMAT below for details |
Examples
Print with three decimals inside some text
numfmtx --format='took %.3fs' 1.23456took 1.235sHelp in the terminal
gnux help numfmtx --format