On Apr 11, 1:19 pm, [EMAIL PROTECTED] wrote: > couldn't you just do. > > #untested > new_round(n): > answer = round(n) > # is answer now odd > if answer % 2: > return answer - 1 > else: > return answer
Whoops, this also affects odd numbers... Will try and find a GOOD solution later... Strange request though, why do you need it that way, because 2.5 is CLOSER to 3 than to 2... -- http://mail.python.org/mailman/listinfo/python-list