chiark / gitweb /
qalculate-time-hacks: Improve output slightly
authorColin Watson <cjwatson@debian.org>
Tue, 25 Feb 2025 20:13:19 +0000 (20:13 +0000)
committerColin Watson <cjwatson@debian.org>
Tue, 25 Feb 2025 20:13:19 +0000 (20:13 +0000)
content/qalculate-time-hacks.rst

index 25d2d075c4301a6d9b2419650a67d152afaab780..f9fe35d074f6b4221d1997a905951947be2a93d0 100644 (file)
@@ -161,7 +161,7 @@ not going to get paid for that time.
     Total time: 69:19:42
     $ summarize-time -t :month Debian
     Total time: 24:05:30
-    $ qalc '24:05:30 / (24:05:30 + 69:19:42)'
-    (86730 / 3600) / ((86730 / 3600) + (249582 / 3600)) ≈ 0.2578855349
+    $ qalc '24:05:30 / (24:05:30 + 69:19:42) to %'
+    (86730 / 3600) / ((86730 / 3600) + (249582 / 3600)) ≈ 25.78855349%
 
 I love it.