mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
weather: Print 0.0% correctly.
* guix/scripts/weather.scm (report-server-coverage): Report 0% coverage as 0.0%, not as .0%.
This commit is contained in:
parent
a2daee843d
commit
81a11883dc
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ (define MiB (* (expt 2 20) 1.))
|
|||
narinfos))
|
||||
(time (+ (time-second time)
|
||||
(/ (time-nanosecond time) 1e9))))
|
||||
(format #t (G_ " ~2,1f% substitutes available (~h out of ~h)~%")
|
||||
(format #t (G_ " ~,1f% substitutes available (~h out of ~h)~%")
|
||||
(* 100. (/ obtained requested 1.))
|
||||
obtained requested)
|
||||
(let ((total (/ (reduce + 0 sizes) MiB)))
|
||||
|
|
Loading…
Reference in a new issue