round down to nearest number

noydb jenn.duerr at gmail.com
Thu Feb 9 19:30:53 EST 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