Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102098

Re: .format won't display my value with 2 decimal places: Why?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Random832 <random832@fastmail.com>
Newsgroups comp.lang.python
Subject Re: .format won't display my value with 2 decimal places: Why?
Date Mon, 25 Jan 2016 12:30:55 -0500
Lines 5
Message-ID <mailman.223.1453743058.15297.python-list@python.org> (permalink)
References <emfb5e9d53-d700-456e-af54-ddd3d16ce379@andromeda>
Mime-Version 1.0
Content-Type text/plain
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de PRjLoHi1NqdpAK/t8Qbogg/uZOcxRXjsblUHqkVU9lBw==
Return-Path <random832@fastmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'mrab': 0.05; 'that?': 0.05; 'received:internal': 0.09; 'subject:Why': 0.09; 'jan': 0.11; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:66.111.4.27': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'string': 0.17; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'really': 0.37; 'received:66': 0.38; 'why': 0.39; 'format': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'header:Message- Id:1': 0.61; 'subject:value': 0.84
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=cRQMZ+acT0AYO9DzANJdOAU2DLk=; b=ei7KL0 qmroyCHNejCTyirN/p4yW5QWe1QkN+1qGk0QxGkjIjwFYEC4Efyo2P4ZeJdp7OE7 QLFJgeTbu498Pd5irWbGKFzJ09lAeo1Z+kO0j54UTWcMkLHWFB97lsdJUFVh6ruK csmMhyYv/lTRPH0W+9AaUma7dj7xu1uTwVklI=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=cRQMZ+acT0AYO9D zANJdOAU2DLk=; b=JiDkKqCXLW7urSZn1Tq/n07PhC1Gjl3Se6vkW7G+G2APTI+ aC0WQEEX0TCKgkwVV0YMT7AYJN4DG69FR3LdhfzvXcMFo+7Vzd4USCyQLu1ewW82 5W5UNnwZIJCSUYsV2WWsqjyLyrG30vAUp2HA/Glall+LUDZ2spQ39gVKkrDA=
X-Sasl-Enc zq2NiPkiiA/2KVSxRy84Y5VAH7/HXOi/9h5imi2wioiJ 1453743055
X-Mailer MessagingEngine.com Webmail Interface - ajax-6cda141f
In-Reply-To <emfb5e9d53-d700-456e-af54-ddd3d16ce379@andromeda>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:102098

Show key headers only | View raw


On Mon, Jan 25, 2016, at 12:19, MRAB wrote:
> Do you really want to insist that the format string always used _all_ of 
> the arguments?

Um, yes? Why on earth _wouldn't_ you want to insist that?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: .format won't display my value with 2 decimal places: Why? Random832 <random832@fastmail.com> - 2016-01-25 12:30 -0500

csiph-web