Hey i have a stupid question.

How do i get python to print the result in only three decimal place...

Example>>> round (2.995423333545555, 3)
2.9950000000000001

but i want to get rid of all trailing 0's..how would i do that?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

Reply via email to