[Tutor] round()

Wes wes at the-edge.us
Mon Nov 17 11:21:52 EST 2003


Hi,
Why are the results different?

x=2.5463

>>>round(x,2)
2.5499999999999998

>>>str(round(x,2))
'2.55'

Thanks,
~wes
---------------------
We need more power captain.





More information about the Tutor mailing list