prettyunits (Q68616)
From MaRDI portal
Pretty, Human Readable Formatting of Quantities
Language | Label | Description | Also known as |
---|---|---|---|
English | prettyunits |
Pretty, Human Readable Formatting of Quantities |
Statements
24 September 2023
0 references
Pretty, human readable formatting of quantities. Time intervals: '1337000' -> '15d 11h 23m 20s'. Vague time intervals: '2674000' -> 'about a month ago'. Bytes: '1337' -> '1.34 kB'. Rounding: '99' with 3 significant digits -> '99.0' p-values: '0.00001' -> '<0.0001'. Colors: '#FF0000' -> 'red'. Quantities: '1239437' -> '1.24 M'.
0 references