round() wrong in Python 2.4?

Robert Kern rkern at ucsd.edu
Thu Sep 15 08:04:30 CEST 2005


Reinhold Birkenfeld wrote:
> Robert Kern wrote:

>>Antoon:
>>"Python 2.3 isn't rounding 0.0225 up while pyton 2.4 rounds it down."
> 
> Written in Pseudocode:
> 
> not (Py2.3 rounding up and Py2.4 rounding down)

I presumed the "isn't" was a typo given the "while."

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the Python-list mailing list