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


Groups > comp.lang.python > #43736

Re: Missing decimals in the code - some suggestions?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.022
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; ';-)': 0.03; 'subject:code': 0.07; 'python': 0.11; 'question.': 0.14; 'csv': 0.16; 'precision.': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'print': 0.22; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'subject:some': 0.31; 'file': 0.32; 'subject:the': 0.34; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'subject:?': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'easy': 0.60; 'ian': 0.60; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=D3DEIopNtzuSVdmUCDIeomGNq1V1xY1iMKGikZaDd/A=; b=dhmYGDXDmc1cXPu66bv1i5xJwFhA4b63b4R7kyTP/RpFS+eIQ7ufSJ1oxVWAgtZv3/ Pn5TfW5q/Z3vligB7SgkXM64MS2/4mZrrmhSJebKtlHH33cOfeeFRPKhaFWcn7izEUZW JcG1ibirbR6rrx+wfy773fFejY6EWW8EMbu6yjRIH5p4ofqp1/dmNKvUDnSoI8wKhSJm 1c5FtPNBULbImGF9+DDjRuC7GpT2GDeYaM3WvutmkkxYuUHJVr/96wJOFI8QS0+bMe8G wPv/IKviJEQyoy97gXP64XuiWXP4yjVyiTqcroNBbNZCMpKOTaTWusTpEooI/+W7rWNd /6Gg==
X-Received by 10.66.84.74 with SMTP id w10mr7082684pay.214.1366181814253; Tue, 16 Apr 2013 23:56:54 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <516e3fed$0$29872$c3e8da3$5496439d@news.astraweb.com>
References <8e158cbe-4b81-476a-ac48-a0d967956277@googlegroups.com> <mailman.683.1366136461.3114.python-list@python.org> <516e3fed$0$29872$c3e8da3$5496439d@news.astraweb.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Wed, 17 Apr 2013 00:56:14 -0600
Subject Re: Missing decimals in the code - some suggestions?
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
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.706.1366181823.3114.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366181823 news.xs4all.nl 2687 [2001:888:2000:d::a6]:48673
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43736

Show key headers only | View raw


On Wed, Apr 17, 2013 at 12:23 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> On Tue, 16 Apr 2013 12:20:18 -0600, Ian Kelly wrote:
>
>> This isn't a Python question.  If you take a look at the csv file that
>> you download from Yahoo, you will see that it only contains 2 digits of
>> precision.  There's no way to make Python print out 4 digits of
>> precision when it is only provided with 2.
>
> Pish posh! It's easy to add extra precision.

It's easy to add extra /digits/.  Adding extra precision is much harder. ;-)

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


Thread

Missing decimals in the code - some suggestions? hmjeltevik@gmail.com - 2013-04-16 11:02 -0700
  Re: Missing decimals in the code - some suggestions? Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-16 12:20 -0600
    Re: Missing decimals in the code - some suggestions? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-17 06:23 +0000
      Re: Missing decimals in the code - some suggestions? Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-17 00:56 -0600
  Re: Missing decimals in the code - some suggestions? MRAB <python@mrabarnett.plus.com> - 2013-04-16 19:35 +0100
  Re: Missing decimals in the code - some suggestions? Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-16 14:37 -0400

csiph-web