Rounding up to the next 100

noydb jenn.duerr at gmail.com
Thu Jan 21 16:17:59 EST 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