[BangPypers] why is round() not working?
Arvind Jamuna Dixit
ardsrk at gmail.com
Fri Feb 19 08:21:51 CET 2010
Strange.
I try it on my windows machine and get:
>>> round(2.1667000000000001,3)
2.167
I SSH to a remote UNIX machine and get what you got.
Something is system-dependent.
On Fri, Feb 19, 2010 at 12:37 PM, Kenneth Gonsalves <lawgon at au-kbc.org>wrote:
> hi
>
> >>> round(2.1667000000000001,3)
> 2.1669999999999998
>
> what gives?
>
> --
> regards
> Kenneth Gonsalves
> Senior Associate
> NRC-FOSS
> http://certificate.nrcfoss.au-kbc.org.in
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
--
Arvind
More information about the BangPypers
mailing list