Hey i have a stupid question.
How do i get python to print the result in only three decimal place...
Example>>> round (2.995423333545 555, 3)
2.9950000000000 001
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!
How do i get python to print the result in only three decimal place...
Example>>> round (2.995423333545 555, 3)
2.9950000000000 001
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!
Comment