hanz wrote:
> x = x.rstrip('0.') # removes trailing zeroes and dots

knew there had to be a way, thanks.

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

Reply via email to