noydb <jenn.du...@gmail.com> writes: > 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.
math.ceil(3579.127893/100)*100 Florian -- GUIs programmieren mit Python und Glade: <http://www.florian-diesch.de/doc/python-und-glade/> -- http://mail.python.org/mailman/listinfo/python-list