round() problem?

Erik Max Francis max at alcyone.com
Sun Nov 2 18:29:45 EST 2003


JZ wrote:

> >>> round(3999.0) == round(3990)
> False
> >>> round(3990.0) == round(3990)
> True
> >>>
> 
> What is going on here??

Um, why would you think that's wrong?

-- 
   Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ Never had very much to say / Laugh last, laugh longest
\__/  Des'ree




More information about the Python-list mailing list