Showing results 1 to 2 of 2
Search took 0.01 seconds.
Posts Made By: tesak
Forum: Python Oct 6th, 2007
Replies: 4
Views: 575
Posted By tesak
Question Re: Python bug??? Or just a stupid question?

Thanks for an answer. It was just an example which really surprise me. But is there a way how to compare two float numbers without unpredictable results?
Forum: Python Oct 5th, 2007
Replies: 4
Views: 575
Posted By tesak
Question Python bug??? Or just a stupid question?

Hello,
I am a newbie in Python and maybe this is a stupid question, but when I run this code I receive a very strange output.

status = 0
for i in range(10):
status = status + 0.1
...
Showing results 1 to 2 of 2

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:04 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC