Yan
b42defb1d8
Keep auto_unit within limits, so columns stay aligned
...
Occasionally, columns got misaligned, because auto_unit returned too
many decimals when the number was slightly below 10 or 100.
Actually, when (9.995 <= n < 10) and (99.95 < n < 100).
For example,
10*2**20-1 returned 10.00M instead of 10.0M and
100*2**20-1 returned 100.0M instead of 100M.
Tests added to verify correctness.
2026-05-16 21:45:09 +00:00
..
2026-03-24 08:18:04 +00:00
2026-02-21 21:18:27 +01:00
2026-03-14 09:52:12 +01:00
2025-11-10 10:53:52 +01:00
2026-03-24 08:18:04 +00:00
2026-03-14 09:33:37 +01:00
2026-05-16 21:45:09 +00:00
2026-03-14 10:33:24 +01:00
2026-03-22 10:15:17 +01:00
2025-10-18 09:25:39 +02:00
2026-03-14 10:33:24 +01:00
2025-11-22 18:48:13 +01:00
2025-12-26 18:47:01 +01:00
2025-10-18 09:25:39 +02:00
2026-01-03 14:21:26 +01:00
2025-12-26 18:47:01 +01:00
2025-12-30 19:04:07 +01:00
2026-05-07 12:59:37 +00:00
2026-02-26 21:55:37 +01:00
2026-03-24 08:18:04 +00:00
2024-12-30 11:57:11 +01:00
2025-11-04 21:41:15 +01:00
2026-02-07 00:55:14 +05:30
2026-02-24 23:17:24 +05:30
2026-04-19 19:10:58 +10:00
2026-04-21 11:38:05 +02:00
2026-02-07 00:55:14 +05:30
2026-04-16 18:12:18 +02:00
2026-03-07 10:09:24 +01:00
2026-02-07 00:55:14 +05:30
2026-02-07 00:55:14 +05:30
2026-02-07 00:55:14 +05:30
2026-02-07 00:55:14 +05:30
2026-03-24 08:18:04 +00:00
2026-03-29 16:41:48 +02:00
2026-02-17 23:46:22 +05:30
2026-03-24 08:18:04 +00:00