Re: [Tutor] rounding to the nearest 0.5

2007-10-25 Thread Eric Brunson
Bryan Fodness wrote: > > Is there a built-in function that will round to the nearest 0.5? Not that I know of, but "round( 2 * n ) / 2" will give you what you're looking for. > > > _

[Tutor] rounding to the nearest 0.5

2007-10-25 Thread Bryan Fodness
Is there a built-in function that will round to the nearest 0.5? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor