Double.toString() behaviour inconsistency

18 views
Skip to first unread message

David Given

unread,
Sep 8, 2009, 7:29:03 PM9/8/09
to google-we...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If I run this:

String s = Double.toString(1234.0);

...then on the hosted browser I get "1234.0", but on Firefox 3.5 I get
"1234". I haven't tried it on anything else yet.

Is this a known issue? Should I file a bug report?

- --
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────

│ "People who think they know everything really annoy those of us who
│ know we don't." --- Bjarne Stroustrup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKpui/f9E0noFvlzgRAgqSAKCw+kaq0lNS1wGrymP8/iMShbrf4gCgvtYJ
t9OoUs9WwAXH79Ri1vwgzQY=
=dqME
-----END PGP SIGNATURE-----

Eugen Paraschiv

unread,
Jul 18, 2011, 5:20:11 AM7/18/11
to google-we...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages