all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: 42208@debbugs.gnu.org
Subject: [bug#42208] [PATCH 0/1] weather: Print 0.0% correctly.
Date: Sun, 05 Jul 2020 09:54:26 +0200	[thread overview]
Message-ID: <87y2nyjt1p.fsf@gnu.org> (raw)
In-Reply-To: <20200704230504.6763-1-arunisaac@systemreboot.net> (Arun Isaac's message of "Sun, 5 Jul 2020 04:35:04 +0530")


Hello Arun,

> "0.0% substitutes unavailable". I didn't know what the '2' specifying width in
> ~2,1f was for. Hence, I have removed it. Feel free to correct me if I did
> something wrong.

This "2" is the width argument of the ~f parameter (see
https://www.gnu.org/software/guile/manual/html_node/Formatted-Output.html).

It's supposed to pad left with spaces if the output is less than "2"
characters. Anyway, the zero case is not handled properly as you
noticed, so this looks good to me.

Thanks,

Mathieu




  parent reply	other threads:[~2020-07-05  7:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-04 23:05 [bug#42208] [PATCH 0/1] weather: Print 0.0% correctly Arun Isaac
2020-07-04 23:07 ` [bug#42208] [PATCH] " Arun Isaac
2020-07-05  7:54 ` Mathieu Othacehe [this message]
2020-07-05 10:46   ` bug#42208: [PATCH 0/1] " Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2nyjt1p.fsf@gnu.org \
    --to=othacehe@gnu.org \
    --cc=42208@debbugs.gnu.org \
    --cc=arunisaac@systemreboot.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.