Arnaud Delobelle <arno...@googlemail.com> writes:

> >>> XstrNmbr = 3579.127893

I meant
>>> XstrNmbr = "3579.127893"

> >>> round(float(XstrNmbr), -2)
> 3600.0

-- 
Arnaud
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to