Rounding up to the next 100

noydb jenn.duerr at
Thu Jan 21 22:17:59 CET 2010

If one has a floating number as a string, is there a spiffy way to
round that string-number UP to the nearest 100?

XstrNmbr = 3579.127893 -- would want to round that to 3600.

Thanks for any help!

More information about the Python-list mailing list