slstatus/components
Laslo Hunhold 46c4540dd2 Implement fmt_human_2() and fmt_human_10()
These functions take the raw number and a unit and automatically
print it out "scaled down" to a proper SI-prefix, for powers of 2
and 10 respectively.

Apply them to the 2-power cases and keep the 10-power for a later
commit.
2018-05-19 22:58:21 +02:00
..
2018-05-19 20:33:06 +02:00
2018-05-18 11:13:05 +02:00
2018-05-06 23:09:36 +02:00
2018-05-18 11:13:05 +02:00
2018-05-19 13:34:18 +02:00
2018-05-18 11:13:05 +02:00
2018-05-18 11:13:05 +02:00
2018-05-18 11:13:05 +02:00
2018-05-18 11:13:05 +02:00
2018-05-18 11:13:05 +02:00
2018-05-18 11:13:05 +02:00
2018-05-19 01:55:31 +02:00
2018-05-18 11:13:05 +02:00