Rounding to the nearest 5

D'Arcy J.M. Cain darcy at druid.net
Fri Jan 30 09:07:27 EST 2009


On 30 Jan 2009 06:23:17 GMT
Steven D'Aprano <steven at REMOVE.THIS.cybersource.com.au> wrote:
> On Fri, 30 Jan 2009 00:24:47 -0500, D'Arcy J.M. Cain wrote:
> > That appears to be rounding to nearest 10, not 5.  Clarify your
> > requirements first.
> 
> Look again. 36 => 35.

You are correct.  I should have ommitted my first sentence and
emphasized the second.  :-)

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list