How to round a floating point to nearest 10?

Will Rocisky geekmoth at gmail.com
Sat Aug 9 13:31:38 CEST 2008


I want my 76.1 to be rounded to decimal 80 and 74.9 to decimal 70.
How can I achieve that?



More information about the Python-list mailing list