Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #89845
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.028 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; ';-)': 0.03; 'digest': 0.04; 'cest': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Converting': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'absolute': 0.30; 'bigger': 0.30; 'message- id:@mail.gmail.com': 0.30; 'writes:': 0.31; 'cases': 0.33; 'maybe': 0.34; 'received:google.com': 0.35; 'should': 0.36; 'ben': 0.38; 'pm,': 0.38; 'most': 0.60; 'more': 0.64; 'sunday': 0.68; '2015': 0.84; 'complex,': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=PhBngoalxWwYeysK0PWZCqXKo7nn60EXvF0u7EXkHWw=; b=U/6kYdLwsqQSK0ZNKszbdIF9kX6LCPXTiyJOHMcS8jaFSkKO7N3Uu+mVmXsej4QsyF W135Qj1VZWuglWbY4Hn8XWwOPCRvfKCpbZFG6Kh47teKuZLyV/TSAZMuoVARYMXbRCz0 Bb4VynbmLq66hLpy2QydW7rD474NBZodVgF4GHR634cggqQ/KMOv1r5GfH7kSTALeWHL Gk2wDIl2S/dKro45RAzECP45q0x6Ghnxp1RaaGuaGr0JZgSDMdfepVU6BoIvUu692RvZ 06SoCJqhjAaKSwr6i4IPwZk2g7cXbaGVlj72q0qWebkoKx/oM5aDuQU3BWh5VEdhm2E+ 8dwQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.160.202 with SMTP id j193mr22041885ioe.43.1430646704606; Sun, 03 May 2015 02:51:44 -0700 (PDT) |
| In-Reply-To | <87mw1mkoc5.fsf@Equus.decebal.nl> |
| References | <87vbgakrlr.fsf@Equus.decebal.nl> <mailman.52.1430642455.12865.python-list@python.org> <87mw1mkoc5.fsf@Equus.decebal.nl> |
| Date | Sun, 3 May 2015 19:51:44 +1000 |
| Subject | Re: Converting 5.223701009526849e-05 to 5e-05 |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.59.1430646707.12865.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1430646707 news.xs4all.nl 2873 [2001:888:2000:d::a6]:54987 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:89845 |
Show key headers only | View raw
On Sun, May 3, 2015 at 7:22 PM, Cecil Westerhof <Cecil@decebal.nl> wrote: > Op Sunday 3 May 2015 10:40 CEST schreef Ben Finney: > >> Cecil Westerhof <Cecil@decebal.nl> writes: >> >>> When I have a value like 5.223701009526849e-05 in most cases I am >>> not interested in all the digest after the dot. >> >> What type of value is it? > > If the absolute value is bigger as 0 and smaller as 1, it should be a > float. ;-) Or maybe a fractions.Fraction, or a decimal.Decimal, or a complex, or maybe a RXSTRING or a Gmp.mpf! There's more than one way to store a number... ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Converting 5.223701009526849e-05 to 5e-05 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-03 10:11 +0200
Re: Converting 5.223701009526849e-05 to 5e-05 Ben Finney <ben+python@benfinney.id.au> - 2015-05-03 18:40 +1000
Re: Converting 5.223701009526849e-05 to 5e-05 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-03 11:22 +0200
Re: Converting 5.223701009526849e-05 to 5e-05 Chris Angelico <rosuav@gmail.com> - 2015-05-03 19:51 +1000
Re: Converting 5.223701009526849e-05 to 5e-05 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-03 12:02 +0200
Re: Converting 5.223701009526849e-05 to 5e-05 Chris Angelico <rosuav@gmail.com> - 2015-05-03 20:57 +1000
Re: Converting 5.223701009526849e-05 to 5e-05 Dave Angel <davea@davea.name> - 2015-05-03 07:34 -0400
Re: Converting 5.223701009526849e-05 to 5e-05 Ben Finney <ben+python@benfinney.id.au> - 2015-05-03 18:48 +1000
Re: Converting 5.223701009526849e-05 to 5e-05 Alexander Blinne <news@blinne.net> - 2015-05-07 10:00 +0200
csiph-web