Rounding

Zunbeltz Izaola zunbeltz at wm.lc.ehu.es.XXX
Tue Nov 4 12:51:27 CET 2003


P at draigBrady.com writes:

> 
> def roundto(num,round_multiple):
>      return round(num/round_multiple)*round_multiple
> 
> Pádraig.
> 

Odvious ! I don't know wy my mind is not working properly today!

Zunbeltz
-- 
Remove XXX from email: zunbeltz at wm.lc.ehu.esXXX




More information about the Python-list mailing list