round down to nearest number

noydb jenn.duerr at gmail.com
Fri Feb 10 01:30:53 CET 2012


How do you round down ALWAYS to nearest 100?  Like, if I have number
3268, I want that rounded down to 3200.  I'm doing my rounding like
>>> round(3268, -2)
But, how to round DOWN?



More information about the Python-list mailing list