round down to nearest number

Terry Reedy tjreedy at udel.edu
Fri Feb 10 04:29:05 CET 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