Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73815 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2014-07-02 00:00 +0100 |
| Last post | 2014-07-02 00:00 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: 1-0.95 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-02 00:00 +0100
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2014-07-02 00:00 +0100 |
| Subject | Re: 1-0.95 |
| Message-ID | <mailman.11389.1404255614.18130.python-list@python.org> |
On 01/07/2014 22:17, Pedro Izecksohn wrote: > pedro@microboard:~$ /usr/bin/python3 > Python 3.3.2+ (default, Feb 28 2014, 00:52:16) > [GCC 4.8.1] on linux > Type "help", "copyright", "credits" or "license" for more information. >>>> 1-0.95 > 0.050000000000000044 >>>> > > How to get 0.05 as result? > > bc has scale=2 . Has Python some similar feature? > Asked and answered roughly one trillion times. Try searching for python floating point, not that this is specific to python. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Back to top | Article view | comp.lang.python
csiph-web