Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3a.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: OK 0.167 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.71; '*S*': 0.04; 'subject:Question': 0.07; 'subject:using': 0.09; 'python': 0.11; 'soap,': 0.16; 'subject:python': 0.16; 'fix': 0.17; 'cheers,': 0.24; 'code': 0.31; 'decimal': 0.31; 'subject:numbers': 0.31; 'url:non-standard http port': 0.33; 'received:66': 0.35; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:unknown': 0.61; 'complete': 0.62; 'header:Message-Id:1': 0.63; 'notice:': 0.67; 'received:204': 0.75; '100': 0.79; 'boxes': 0.91; 'probe': 0.91 X-Spam-Status: No, score=1.6 required=5.0 X-Spam-Level: + From: Gene Heskett To: python-list@python.org Subject: Question on using FP numbers in python 2 Date: Fri, 14 Feb 2014 22:25:59 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392434770 news.xs4all.nl 2850 [2001:888:2000:d::a6]:38015 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66355 Greetings; Is there something I can search for and fix in some python code that is giving me bogus answers that get good only when there is a valid digit to the left of the decimal point? Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page NOTICE: Will pay 100 USD for an HP-4815A defective but complete probe assembly.