[Python-bugs-list] [ python-Bugs-816946 ] Float Multiplication

SourceForge.net noreply at sourceforge.net
Fri Oct 3 03:48:47 EDT 2003


Bugs item #816946, was opened at 2003-10-03 06:09
Message generated for change (Comment added) made by effbot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=816946&group_id=5470

>Category: Documentation
Group: Python 2.3
>Status: Deleted
>Resolution: Invalid
Priority: 5
Submitted By: Victor Demaria (vktor)
Assigned to: Fredrik Lundh (effbot)
Summary: Float Multiplication

Initial Comment:
Why (1.16 * 100) is not the same than (1.16 * 10 * 10)?



I tried 1.16*100. also and it is = 115.99999999; but if I 

do 1.16*10*10 I get 116.



Thanks....





----------------------------------------------------------------------

>Comment By: Fredrik Lundh (effbot)
Date: 2003-10-03 09:48

Message:
Logged In: YES 
user_id=38376

The answer to your question can be found in the Python 

tutorial, and has nothing to do with regular expressions:



http://www.python.org/doc/tut/node14.html



Please don't use the bug tracker to ask for help in the 

future; I suggest asking on comp.lang.python (for other 

help forums, see www.python.org).



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=816946&group_id=5470



More information about the Python-bugs-list mailing list