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: 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: =?UTF-8?B?4K6G4K6u4K6+4K6a4K+N4K6a4K+B?= 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> In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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.