round down to nearest number

Terry Reedy tjreedy at udel.edu
Thu Feb 9 22:29:05 EST 2012


On 2/9/2012 8:23 PM, noydb wrote:
> So how would you round UP always?  Say the number is 3219, so you want
 >>> (3333//100+1)*100
3400

-- 
Terry Jan Reedy




More information about the Python-list mailing list