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


Groups > comp.lang.python > #42482

Re: round off to two decimal & return float

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <amachu@amachu.me>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.230
X-Spam-Level **
X-Spam-Evidence '*H*': 0.56; '*S*': 0.03; 'subject:two': 0.07; 'expected.': 0.09; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'helpful': 0.24; 'header:In-Reply-To:1': 0.27; 'received:208.97': 0.31; 'received:208.97.132': 0.31; 'received:66.33': 0.31; 'received:66.33.216': 0.31; 'received:66.33.216.122': 0.31; 'received:dreamhost.com': 0.31; 'received:g.dreamhost.com': 0.31; 'received:hapkido.dreamhost.com': 0.31; 'yes.': 0.31; 'style': 0.33; 'received:66': 0.35; 'really': 0.36; 'thank': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'skip:x 10': 0.40; 'march': 0.61; 'received:208': 0.61; 'from:charset:utf-8': 0.61; 'you.': 0.62; 'saturday': 0.68; 'subject: & ': 0.68; 'otten': 0.84; 'subject:round': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha1; c=relaxed; d=amachu.me; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=amachu.me; bh=qRqNdYS tHauUm8NuRWJePpmZ+ho=; b=IuZjqV+eZe45a/AoQWFwK2SYlXQM571e7OU9gip NKDzx2ESfT+OAOGGA3A89KTxF92fT19YMAZbC637Ju6Nkl+W87gbfe0idZ/1qzg1 4BnA82igjfYvgrBCSVO/qM+lDeinReAzO8re3PBKOm4W0A+P0mw2gIaRMd8ivHjv g/xY=
Date Sat, 30 Mar 2013 23:48:12 +0530
From ஆமாச்சு <amachu@amachu.me>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version 1.0
To python-list@python.org
Subject Re: round off to two decimal & return float
References <515699DB.8060104@amachu.me> <kj6c3l$34t$1@ger.gmane.org>
In-Reply-To <kj6c3l$34t$1@ger.gmane.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Mailman-Approved-At Mon, 01 Apr 2013 20:57:30 +0200
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10.1364842651.17481.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364842651 news.xs4all.nl 6965 [2001:888:2000:d::a6]:45749
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42482

Show key headers only | View raw


On Saturday 30 March 2013 03:14 PM, Peter Otten wrote:
> style = xlwt.XFStyle()
> style.num_format_str = "0.00"
Yes. That was really helpful & what I expected.

Thank you.

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


Thread

Re: round off to two decimal & return float ஆமாச்சு <amachu@amachu.me> - 2013-03-30 23:48 +0530

csiph-web